[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 28/35] KVM: PPC: eliminate unnecessary duplicate cons
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 28/35] KVM: PPC: eliminate unnecessary duplicate constants |
Date: |
Fri, 20 Jan 2017 14:31:32 +0100 |
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 <address@hidden>
---
target/ppc/kvm_ppc.h | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/target/ppc/kvm_ppc.h b/target/ppc/kvm_ppc.h
index bd1d78b..4b43283 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 */
--
2.9.3
- [Qemu-devel] [PULL 17/35] pc: fix crash in rtc_set_memory() if initial cpu is marked as hotplugged, (continued)
- [Qemu-devel] [PULL 17/35] pc: fix crash in rtc_set_memory() if initial cpu is marked as hotplugged, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 19/35] serial: fix memory leak in serial exit, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 20/35] qemu-thread: fix qemu_thread_set_name() race in qemu_thread_create(), Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 21/35] hxtool: emit Texinfo headings as @subsection, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 25/35] exec: Add missing rcu_read_unlock, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 22/35] x86: ioapic: add traces for ioapic, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 24/35] x86: ioapic: fix fail migration when irqchip=split, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 23/35] x86: ioapic: dump version for "info ioapic", Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 26/35] char: fix ctrl-a b not working, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 27/35] ramblock-notifier: new, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 28/35] KVM: PPC: eliminate unnecessary duplicate constants,
Paolo Bonzini <=
- [Qemu-devel] [PULL 29/35] kvm: move cpu synchronization code, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 32/35] hax: add Darwin support, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 31/35] Plumb the HAXM-based hardware acceleration support, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 33/35] Revert "win32: don't run subprocess tests on Mingw32 platform", Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 35/35] pc.h: move x-mach-use-reliable-get-clock compat entry to PC_COMPAT_2_8, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 34/35] bitmap: assert that start and nr are non negative, Paolo Bonzini, 2017/01/20
- [Qemu-devel] [PULL 30/35] target/i386: Add Intel HAX files, Paolo Bonzini, 2017/01/20
- Re: [Qemu-devel] [PULL v3 00/32] Misc patches for 2017-01-11, no-reply, 2017/01/20
- Re: [Qemu-devel] [PULL v3 00/32] Misc patches for 2017-01-11, Paolo Bonzini, 2017/01/20
- Re: [Qemu-devel] [PULL v3 00/32] Misc patches for 2017-01-11, Peter Maydell, 2017/01/23