summaryrefslogtreecommitdiff
path: root/drivers/xen/privcmd.h
diff options
context:
space:
mode:
authorBastian Blank <waldi@debian.org>2011-12-16 20:34:33 +0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-12-16 22:29:31 +0400
commitd8414d3c157dc1f83e73c17447ba41fe5afa9d3d (patch)
tree02195ebb0b1dd0b026b257825f02cddc3617df55 /drivers/xen/privcmd.h
parent243082e0d59f169a1fa502f51ee5a820889fae93 (diff)
downloadlinux-d8414d3c157dc1f83e73c17447ba41fe5afa9d3d.tar.xz
xen: Add privcmd device driver
Access to arbitrary hypercalls is currently provided via xenfs. This adds a standard character device to handle this. The support in xenfs remains for backward compatibility and uses the device driver code. Signed-off-by: Bastian Blank <waldi@debian.org> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/privcmd.h')
-rw-r--r--drivers/xen/privcmd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/xen/privcmd.h b/drivers/xen/privcmd.h
new file mode 100644
index 000000000000..14facaeed36f
--- /dev/null
+++ b/drivers/xen/privcmd.h
@@ -0,0 +1,3 @@
+#include <linux/fs.h>
+
+extern const struct file_operations xen_privcmd_fops;