diff options
author | Avi Kivity <avi@qumranet.com> | 2007-12-02 10:50:06 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 17:53:16 +0200 |
commit | fb56dbb31c4738a3918db81fd24da732ce3b4ae6 (patch) | |
tree | b201bcc1dda7729045e9cf2e9ef9d281eb66d92c /arch | |
parent | d23087847184a7417fc69bdfaa8a32834b447bef (diff) | |
download | kernel-common-fb56dbb31c4738a3918db81fd24da732ce3b4ae6.tar.gz kernel-common-fb56dbb31c4738a3918db81fd24da732ce3b4ae6.tar.bz2 kernel-common-fb56dbb31c4738a3918db81fd24da732ce3b4ae6.zip |
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 'arch')
-rw-r--r-- | arch/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index fb3eea3e38ee..d289cfcf92c4 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -107,6 +107,7 @@ config ARCH_SUPPORTS_OPROFILE bool default y +select HAVE_KVM config ZONE_DMA32 bool |