summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/io.h
diff options
context:
space:
mode:
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 /arch/x86/include/asm/io.h
parentc39ae60dfbda66922f644193b91850abcd4d588c (diff)
downloadlinux-0-day-3cfa210bf3fe0803cca17f3775d8cf2360d5f443.tar.gz
linux-0-day-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/include/asm/io.h')
-rw-r--r--arch/x86/include/asm/io.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index 232d8e9ee8a0e..9a92a3ac2ac5e 100644
--- a/arch/x86/include/asm/io.h
+++ b/arch/x86/include/asm/io.h
@@ -369,10 +369,6 @@ extern void __iomem *ioremap_wt(resource_size_t offset, unsigned long size);
extern bool is_early_ioremap_ptep(pte_t *ptep);
-#ifdef CONFIG_XEN
-#include <xen/xen.h>
-#endif /* CONFIG_XEN */
-
#define IO_SPACE_LIMIT 0xffff
#include <asm-generic/io.h>