diff options
author | Bastian Blank <waldi@debian.org> | 2011-12-10 19:29:47 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-12-16 13:29:39 -0500 |
commit | 2fb3683e7b164ee2b324039f7c9d90fe5b1a259b (patch) | |
tree | 7ac2e97b48e0940340c37aae4d08a6b67f1e4fd5 /drivers/xen/xenbus/xenbus_comms.h | |
parent | d8414d3c157dc1f83e73c17447ba41fe5afa9d3d (diff) | |
download | blackbird-op-linux-2fb3683e7b164ee2b324039f7c9d90fe5b1a259b.tar.gz blackbird-op-linux-2fb3683e7b164ee2b324039f7c9d90fe5b1a259b.zip |
xen: Add xenbus device driver
Access to xenbus is currently handled via xenfs. This adds a device
driver for xenbus and makes xenfs use this 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/xenbus/xenbus_comms.h')
-rw-r--r-- | drivers/xen/xenbus/xenbus_comms.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/xen/xenbus/xenbus_comms.h b/drivers/xen/xenbus/xenbus_comms.h index c21db7513736..6e42800fa499 100644 --- a/drivers/xen/xenbus/xenbus_comms.h +++ b/drivers/xen/xenbus/xenbus_comms.h @@ -31,6 +31,8 @@ #ifndef _XENBUS_COMMS_H #define _XENBUS_COMMS_H +#include <linux/fs.h> + int xs_init(void); int xb_init_comms(void); @@ -43,4 +45,6 @@ int xs_input_avail(void); extern struct xenstore_domain_interface *xen_store_interface; extern int xen_store_evtchn; +extern const struct file_operations xen_xenbus_fops; + #endif /* _XENBUS_COMMS_H */ |