KVM: Avoid using CONFIG_ in userspace visible headers
authorAvi Kivity <avi@redhat.com>
Mon, 19 Jan 2009 12:57:52 +0000 (14:57 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 15 Feb 2009 00:47:35 +0000 (02:47 +0200)
commit7a0eb1960e8ddcb68ea631caf16815485af0e228
tree0614c3c2265ed02072a082dea68a86e31f71dd7f
parentd39123a486524fed9b4e43e08a8757fd90a5859a
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/ia64/include/asm/kvm.h
arch/x86/include/asm/kvm.h
include/linux/kvm.h