From: Linus Torvalds Date: Thu, 4 Aug 2011 08:00:38 +0000 (-1000) Subject: x86: don't include xen/xen.h in unless XEN is enabled X-Git-Tag: v3.1-rc1~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33f35f2a4ee3abfc0f87990058aa1b6b5092f725;p=pandora-kernel.git x86: don't include xen/xen.h in unless XEN is enabled Dmitry Kasatkin reports: "kernel-devel package with kernel headers have no 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 should be also behind CONFIG_XEN flag." So move the include of down into the section that is conditional on CONFIG_XEN. Reported-by: Dmitry Kasatkin Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed