diff options
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/kvm.h | 3 | ||||
-rw-r--r-- | arch/powerpc/include/asm/kvm_ppc.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm.h b/arch/powerpc/include/asm/kvm.h index 19bae31202ce..6c5547d82bbe 100644 --- a/arch/powerpc/include/asm/kvm.h +++ b/arch/powerpc/include/asm/kvm.h | |||
@@ -84,4 +84,7 @@ struct kvm_guest_debug_arch { | |||
84 | #define KVM_REG_QPR 0x0040 | 84 | #define KVM_REG_QPR 0x0040 |
85 | #define KVM_REG_FQPR 0x0060 | 85 | #define KVM_REG_FQPR 0x0060 |
86 | 86 | ||
87 | #define KVM_INTERRUPT_SET -1U | ||
88 | #define KVM_INTERRUPT_UNSET -2U | ||
89 | |||
87 | #endif /* __LINUX_KVM_POWERPC_H */ | 90 | #endif /* __LINUX_KVM_POWERPC_H */ |
diff --git a/arch/powerpc/include/asm/kvm_ppc.h b/arch/powerpc/include/asm/kvm_ppc.h index c7fcdd751f14..6a2464e4d6b9 100644 --- a/arch/powerpc/include/asm/kvm_ppc.h +++ b/arch/powerpc/include/asm/kvm_ppc.h | |||
@@ -92,6 +92,8 @@ extern void kvmppc_core_queue_dec(struct kvm_vcpu *vcpu); | |||
92 | extern void kvmppc_core_dequeue_dec(struct kvm_vcpu *vcpu); | 92 | extern void kvmppc_core_dequeue_dec(struct kvm_vcpu *vcpu); |
93 | extern void kvmppc_core_queue_external(struct kvm_vcpu *vcpu, | 93 | extern void kvmppc_core_queue_external(struct kvm_vcpu *vcpu, |
94 | struct kvm_interrupt *irq); | 94 | struct kvm_interrupt *irq); |
95 | extern void kvmppc_core_dequeue_external(struct kvm_vcpu *vcpu, | ||
96 | struct kvm_interrupt *irq); | ||
95 | 97 | ||
96 | extern int kvmppc_core_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu, | 98 | extern int kvmppc_core_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu, |
97 | unsigned int op, int *advance); | 99 | unsigned int op, int *advance); |