diff options
author | Avi Kivity <avi@qumranet.com> | 2007-12-02 08:50:06 (GMT) |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 15:53:16 (GMT) |
commit | fb56dbb31c4738a3918db81fd24da732ce3b4ae6 (patch) | |
tree | b201bcc1dda7729045e9cf2e9ef9d281eb66d92c /include/linux/Kbuild | |
parent | d23087847184a7417fc69bdfaa8a32834b447bef (diff) | |
download | linux-fsl-qoriq-fb56dbb31c4738a3918db81fd24da732ce3b4ae6.tar.xz |
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/Kbuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild index c263a69..85b2482 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -255,7 +255,7 @@ unifdef-y += kd.h unifdef-y += kernelcapi.h unifdef-y += kernel.h unifdef-y += keyboard.h -unifdef-y += kvm.h +unifdef-$(CONFIG_HAVE_KVM) += kvm.h unifdef-y += llc.h unifdef-y += loop.h unifdef-y += lp.h |