aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/Kbuild
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-12-02 03:50:06 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:53:16 -0500
commitfb56dbb31c4738a3918db81fd24da732ce3b4ae6 (patch)
treeb201bcc1dda7729045e9cf2e9ef9d281eb66d92c /include/linux/Kbuild
parentd23087847184a7417fc69bdfaa8a32834b447bef (diff)
KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM
Currently, make headers_check barfs due to <asm/kvm.h>, which <linux/kvm.h> includes, not existing. Rather than add a zillion <asm/kvm.h>s, export kvm.h only if the arch actually supports it. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/Kbuild')
-rw-r--r--include/linux/Kbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index c263a69b5680..85b2482cc736 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -255,7 +255,7 @@ unifdef-y += kd.h
255unifdef-y += kernelcapi.h 255unifdef-y += kernelcapi.h
256unifdef-y += kernel.h 256unifdef-y += kernel.h
257unifdef-y += keyboard.h 257unifdef-y += keyboard.h
258unifdef-y += kvm.h 258unifdef-$(CONFIG_HAVE_KVM) += kvm.h
259unifdef-y += llc.h 259unifdef-y += llc.h
260unifdef-y += loop.h 260unifdef-y += loop.h
261unifdef-y += lp.h 261unifdef-y += lp.h