diff options
author | Avi Kivity <avi@redhat.com> | 2009-01-19 15:57:52 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-02-15 03:47:35 +0300 |
commit | 7a0eb1960e8ddcb68ea631caf16815485af0e228 (patch) | |
tree | 0614c3c2265ed02072a082dea68a86e31f71dd7f /arch/ia64/include/asm | |
parent | d39123a486524fed9b4e43e08a8757fd90a5859a (diff) | |
download | linux-7a0eb1960e8ddcb68ea631caf16815485af0e228.tar.xz |
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>
Diffstat (limited to 'arch/ia64/include/asm')
-rw-r--r-- | arch/ia64/include/asm/kvm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/kvm.h b/arch/ia64/include/asm/kvm.h index 68aa6da807c1..bfa86b6af7cd 100644 --- a/arch/ia64/include/asm/kvm.h +++ b/arch/ia64/include/asm/kvm.h @@ -25,6 +25,10 @@ #include <linux/ioctl.h> +/* Select x86 specific features in <linux/kvm.h> */ +#define __KVM_HAVE_IOAPIC +#define __KVM_HAVE_DEVICE_ASSIGNMENT + /* Architectural interrupt line count. */ #define KVM_NR_INTERRUPTS 256 |