]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd39e4fa0bf59dcb68023ff1e8a4b16d51ea47180
tree0614c3c2265ed02072a082dea68a86e31f71dd7f
parent0a44c031e9da133abc0021215adc64015af1841c
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