[PATCH v2 1/6] x86/kvm: remove non-x86 stuff from arch/x86/kvm/ioapic.h

From: Juergen Gross
Date: Fri Sep 03 2021 - 09:08:34 EST


The file has been moved to arch/x86 long time ago. Time to get rid of
non-x86 stuff.

Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
---
V2:
- patch only kept for reference, has already been added to kvm.git
---
arch/x86/kvm/ioapic.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/arch/x86/kvm/ioapic.h b/arch/x86/kvm/ioapic.h
index 11e4065e1617..bbd4a5d18b5d 100644
--- a/arch/x86/kvm/ioapic.h
+++ b/arch/x86/kvm/ioapic.h
@@ -35,11 +35,7 @@ struct kvm_vcpu;
#define IOAPIC_INIT 0x5
#define IOAPIC_EXTINT 0x7

-#ifdef CONFIG_X86
#define RTC_GSI 8
-#else
-#define RTC_GSI -1U
-#endif

struct dest_map {
/* vcpu bitmap where IRQ has been sent */
--
2.26.2