KVM: Avoid using CONFIG_ in userspace visible headers
commit91b2ae773d3b168b763237fac33f75b13d891f20
authorAvi Kivity <avi@redhat.com>
Mon, 19 Jan 2009 12:57:52 +0000 (19 14:57 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:06 +0000 (24 11:03 +0200)
tree739ec0a4debd058277493707c8ebf6226dbe41a3
parent399ec807ddc38ecccf8c06dbde04531cbdc63e11
KVM: Avoid using CONFIG_ in userspace visible headers

Kconfig symbols are not available in userspace, and are not stripped by
headers-install.  Avoid their use by adding #defines in <asm/kvm.h> to
suit each architecture.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm.h
include/linux/kvm.h