summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/platform-pci-unplug.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-09-25 22:30:09 +0200
committerJens Axboe <axboe@kernel.dk>2018-09-26 16:45:18 +0200
commit3cfa210bf3fe0803cca17f3775d8cf2360d5f443 (patch)
treeedd72c224f90147b552f05705260b70d37b62c3d /arch/x86/xen/platform-pci-unplug.c
parentblock: remove ARCH_BIOVEC_PHYS_MERGEABLE (diff)
downloadlinux-3cfa210bf3fe0803cca17f3775d8cf2360d5f443.tar.xz
linux-3cfa210bf3fe0803cca17f3775d8cf2360d5f443.zip
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 'arch/x86/xen/platform-pci-unplug.c')
-rw-r--r--arch/x86/xen/platform-pci-unplug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c
index 33a783c77d96..b99585034dd2 100644
--- a/arch/x86/xen/platform-pci-unplug.c
+++ b/arch/x86/xen/platform-pci-unplug.c
@@ -23,6 +23,7 @@
#include <linux/io.h>
#include <linux/export.h>
+#include <xen/xen.h>
#include <xen/platform_pci.h>
#include "xen-ops.h"