]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen: clean up xenbus internal headers
authorJuergen Gross <jgross@suse.com>
Thu, 9 Feb 2017 13:39:56 +0000 (14:39 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 13 Sep 2017 04:37:50 +0000 (21:37 -0700)
commit4a201d241f0f630190f11265fcd71f89b41cfe87
treee82c40a971dd6985aa38626510398b9b216a4831
parent6d8fa05501b8e05335422794e8ca625e1fb74683
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>
OraBug: 26662731

(cherry picked from commit 332f791dc98d98116f4473b726f67c9321b0f31e)
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Conflicts:
drivers/xen/xenbus/xenbus_dev_frontend.c
        (MODULE_LICENSE() is present in our code)
13 files changed:
drivers/xen/xenbus/xenbus.h [moved from drivers/xen/xenbus/xenbus_probe.h with 59% similarity]
drivers/xen/xenbus/xenbus_client.c
drivers/xen/xenbus/xenbus_comms.c
drivers/xen/xenbus/xenbus_comms.h [deleted file]
drivers/xen/xenbus/xenbus_dev_backend.c
drivers/xen/xenbus/xenbus_dev_frontend.c
drivers/xen/xenbus/xenbus_probe.c
drivers/xen/xenbus/xenbus_probe_backend.c
drivers/xen/xenbus/xenbus_probe_frontend.c
drivers/xen/xenbus/xenbus_xs.c
drivers/xen/xenfs/super.c
drivers/xen/xenfs/xenstored.c
include/xen/xenbus.h