summaryrefslogtreecommitdiffstats
path: root/target/ppc/kvm_ppc.h
diff options
context:
space:
mode:
authorPaolo Bonzini2017-01-19 22:06:37 +0100
committerPaolo Bonzini2017-01-19 22:06:53 +0100
commit8c2b8ebf6ed993d1dc70691a601753f5957b4410 (patch)
tree792b181880d6dae7762c84de48c68d0b9a41d4b7 /target/ppc/kvm_ppc.h
parentramblock-notifier: new (diff)
downloadqemu-8c2b8ebf6ed993d1dc70691a601753f5957b4410.tar.gz
qemu-8c2b8ebf6ed993d1dc70691a601753f5957b4410.tar.xz
qemu-8c2b8ebf6ed993d1dc70691a601753f5957b4410.zip
KVM: PPC: eliminate unnecessary duplicate constants
These are not needed since linux-headers/ provides up-to-date definitions. The constants are in linux-headers/asm-powerpc/kvm.h. The sole users, hw/intc/xics_kvm.c and target/ppc/kvm.c, include asm/kvm.h via sysemu/kvm.h->linux/kvm.h. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/ppc/kvm_ppc.h')
-rw-r--r--target/ppc/kvm_ppc.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/target/ppc/kvm_ppc.h b/target/ppc/kvm_ppc.h
index bd1d78bfbe..4b43283913 100644
--- a/target/ppc/kvm_ppc.h
+++ b/target/ppc/kvm_ppc.h
@@ -315,16 +315,4 @@ static inline void kvmppc_icbi_range(PowerPCCPU *cpu, uint8_t *addr, int len)
#endif /* CONFIG_KVM */
-#ifndef KVM_INTERRUPT_SET
-#define KVM_INTERRUPT_SET -1
-#endif
-
-#ifndef KVM_INTERRUPT_UNSET
-#define KVM_INTERRUPT_UNSET -2
-#endif
-
-#ifndef KVM_INTERRUPT_SET_LEVEL
-#define KVM_INTERRUPT_SET_LEVEL -3
-#endif
-
#endif /* KVM_PPC_H */