OSDN Git Service

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)
commitfb56dbb31c4738a3918db81fd24da732ce3b4ae6
treeb201bcc1dda7729045e9cf2e9ef9d281eb66d92c
parentd23087847184a7417fc69bdfaa8a32834b447bef
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