path: root/drivers/xen
diff options
authorChristoph Hellwig <hch@lst.de>2018-09-25 13:30:09 -0700
committerJens Axboe <axboe@kernel.dk>2018-09-26 08:45:18 -0600
commit3cfa210bf3fe0803cca17f3775d8cf2360d5f443 (patch)
treeedd72c224f90147b552f05705260b70d37b62c3d /drivers/xen
parentc39ae60dfbda66922f644193b91850abcd4d588c (diff)
xen: don't include <xen/xen.h> from <asm/io.h> and <asm/dma-mapping.h>
Nothing Xen specific in these headers, which get included from a lot of code in the kernel. So prune the includes and move them to the Xen-specific files that actually use them instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/xen')
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/xen-acpi-pad.c b/drivers/xen/xen-acpi-pad.c
index 23d1808fe027..e25ab76b9c99 100644
--- a/drivers/xen/xen-acpi-pad.c
+++ b/drivers/xen/xen-acpi-pad.c
@@ -19,6 +19,7 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/acpi.h>
+#include <xen/xen.h>
#include <xen/interface/version.h>
#include <xen/xen-ops.h>
#include <asm/xen/hypercall.h>

Privacy Policy