diff options
author | Christoffer Dall <c.dall@virtualopensystems.com> | 2012-06-15 21:07:13 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-06-18 15:06:35 +0200 |
commit | a1e4ccb990447df0fe83d164d9a7bc2e6c4b7db7 (patch) | |
tree | 2068a67dbcf1d34455956c9ecd416aa2a3e2b1e1 /arch/ia64 | |
parent | KVM: use KVM_CAP_IRQ_ROUTING to protect the routing related code (diff) | |
download | linux-a1e4ccb990447df0fe83d164d9a7bc2e6c4b7db7.tar.xz linux-a1e4ccb990447df0fe83d164d9a7bc2e6c4b7db7.zip |
KVM: Introduce __KVM_HAVE_IRQ_LINE
This is a preparatory patch for the KVM/ARM implementation. KVM/ARM will use
the KVM_IRQ_LINE ioctl, which is currently conditional on
__KVM_HAVE_IOAPIC, but ARM obviously doesn't have any IOAPIC support and we
need a separate define.
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/kvm.h b/arch/ia64/include/asm/kvm.h index b9f82c84f093..ec6c6b301238 100644 --- a/arch/ia64/include/asm/kvm.h +++ b/arch/ia64/include/asm/kvm.h @@ -26,6 +26,7 @@ /* Select x86 specific features in <linux/kvm.h> */ #define __KVM_HAVE_IOAPIC +#define __KVM_HAVE_IRQ_LINE #define __KVM_HAVE_DEVICE_ASSIGNMENT /* Architectural interrupt line count. */ |