]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM
authorAvi Kivity <avi@qumranet.com>
Sun, 2 Dec 2007 08:50:06 +0000 (10:50 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:16 +0000 (17:53 +0200)
commit80e2d5eb11136e2ac0f26136f05bb495e5fdf6fa
treeb201bcc1dda7729045e9cf2e9ef9d281eb66d92c
parent9f726a6ff98dec530737a602743726bf15240add
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>
arch/x86/Kconfig
drivers/kvm/Kconfig
include/linux/Kbuild