summaryrefslogtreecommitdiff
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-09-25 23:30:09 +0300
committerJens Axboe <axboe@kernel.dk>2018-09-26 17:45:18 +0300
commit3cfa210bf3fe0803cca17f3775d8cf2360d5f443 (patch)
treeedd72c224f90147b552f05705260b70d37b62c3d /arch/x86/xen/enlighten.c
parentc39ae60dfbda66922f644193b91850abcd4d588c (diff)
downloadlinux-3cfa210bf3fe0803cca17f3775d8cf2360d5f443.tar.xz
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/enlighten.c')
-rw-r--r--arch/x86/xen/enlighten.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 2eeddd814653..0ca46e03b830 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -5,6 +5,7 @@
#include <linux/kexec.h>
#include <linux/slab.h>
+#include <xen/xen.h>
#include <xen/features.h>
#include <xen/page.h>
#include <xen/interface/memory.h>