diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-04 10:00:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-04 10:00:38 +0200 |
commit | 33f35f2a4ee3abfc0f87990058aa1b6b5092f725 (patch) | |
tree | 8433c0f91fc9d10662965f0e9c7d49c7a9d52580 /arch/parisc/math-emu/fcnvuf.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto... (diff) | |
download | linux-33f35f2a4ee3abfc0f87990058aa1b6b5092f725.tar.xz linux-33f35f2a4ee3abfc0f87990058aa1b6b5092f725.zip |
x86: don't include xen/xen.h in <asm/io.h> unless XEN is enabled
Dmitry Kasatkin reports:
"kernel-devel package with kernel headers have no <include/xen>
directory if XEN is disabled. Modules which inclide asm/io.h won't
compile.
XEN related content is behind the CONFIG_XEN flag in the io.h. And
<xen/xen.h> should be also behind CONFIG_XEN flag."
So move the include of <xen/xen.h> down into the section that is
conditional on CONFIG_XEN.
Reported-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/parisc/math-emu/fcnvuf.c')
0 files changed, 0 insertions, 0 deletions