]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen: asm/io.h should not include xen.h if XEN is disabled
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Wed, 3 Aug 2011 16:33:00 +0000 (19:33 +0300)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 3 Aug 2011 18:43:12 +0000 (14:43 -0400)
commitaebe4cafebd33b9b55ab7bc102e351774539200d
tree47aa6e093347e3bf9794e3272158619156fbeea9
parent65d4b248114e18b3d805c7ecb88d9ea64dd978e4
xen: asm/io.h should not include xen.h if XEN is disabled

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.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/io.h