diff options
author | Juergen Gross <jgross@suse.com> | 2017-02-09 08:39:56 -0500 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-02-09 11:26:49 -0500 |
commit | 332f791dc98d98116f4473b726f67c9321b0f31e (patch) | |
tree | 7ec64588dcd472189bd00306f89800a0f8c6703c /drivers/xen/xenfs | |
parent | c0d197d55e8e8aeeea55f79bdf67e1c957bfa25d (diff) |
xen: clean up xenbus internal headers
The xenbus driver has an awful mixture of internally and globally
visible headers: some of the internally used only stuff is defined in
the global header include/xen/xenbus.h while some stuff defined in
internal headers is used by other drivers, too.
Clean this up by moving the externally used symbols to
include/xen/xenbus.h and the symbols used internally only to a new
header drivers/xen/xenbus/xenbus.h replacing xenbus_comms.h and
xenbus_probe.h
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/xen/xenfs')
-rw-r--r-- | drivers/xen/xenfs/super.c | 2 | ||||
-rw-r--r-- | drivers/xen/xenfs/xenstored.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/xenfs/super.c b/drivers/xen/xenfs/super.c index 8559a71f36b1..328c3987b112 100644 --- a/drivers/xen/xenfs/super.c +++ b/drivers/xen/xenfs/super.c | |||
@@ -16,10 +16,10 @@ | |||
16 | #include <linux/magic.h> | 16 | #include <linux/magic.h> |
17 | 17 | ||
18 | #include <xen/xen.h> | 18 | #include <xen/xen.h> |
19 | #include <xen/xenbus.h> | ||
19 | 20 | ||
20 | #include "xenfs.h" | 21 | #include "xenfs.h" |
21 | #include "../privcmd.h" | 22 | #include "../privcmd.h" |
22 | #include "../xenbus/xenbus_comms.h" | ||
23 | 23 | ||
24 | #include <asm/xen/hypervisor.h> | 24 | #include <asm/xen/hypervisor.h> |
25 | 25 | ||
diff --git a/drivers/xen/xenfs/xenstored.c b/drivers/xen/xenfs/xenstored.c index fef20dbc6a5c..82fd2a396d96 100644 --- a/drivers/xen/xenfs/xenstored.c +++ b/drivers/xen/xenfs/xenstored.c | |||
@@ -4,9 +4,9 @@ | |||
4 | #include <linux/fs.h> | 4 | #include <linux/fs.h> |
5 | 5 | ||
6 | #include <xen/page.h> | 6 | #include <xen/page.h> |
7 | #include <xen/xenbus.h> | ||
7 | 8 | ||
8 | #include "xenfs.h" | 9 | #include "xenfs.h" |
9 | #include "../xenbus/xenbus_comms.h" | ||
10 | 10 | ||
11 | static ssize_t xsd_read(struct file *file, char __user *buf, | 11 | static ssize_t xsd_read(struct file *file, char __user *buf, |
12 | size_t size, loff_t *off) | 12 | size_t size, loff_t *off) |