summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv/vas.h
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>2017-08-28 23:23:33 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-31 14:26:26 +1000
commit4dea2d1a927c61114a168d4509b56329ea6effb7 (patch)
tree06787dfcf5c7dc2119bf9f16d1a22fbe3dc8f50a /arch/powerpc/platforms/powernv/vas.h
parentb6622a339e8670a1025d4dd84be473c76dabed33 (diff)
powerpc/powernv/vas: Define vas_init() and vas_exit()
Implement vas_init() and vas_exit() functions for a new VAS module. This VAS module is essentially a library for other device drivers and kernel users of the NX coprocessors like NX-842 and NX-GZIP. In the future this will be extended to add support for user space to access the NX coprocessors. VAS is currently only supported with 64K page size. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/vas.h')
-rw-r--r--arch/powerpc/platforms/powernv/vas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/vas.h b/arch/powerpc/platforms/powernv/vas.h
index abb545f97c77..650805d654ac 100644
--- a/arch/powerpc/platforms/powernv/vas.h
+++ b/arch/powerpc/platforms/powernv/vas.h
@@ -379,4 +379,6 @@ struct vas_winctx {
enum vas_notify_after_count notify_after_count;
};
+extern struct vas_instance *find_vas_instance(int vasid);
+
#endif /* _VAS_H */