OSDN Git Service

x86/kvm: remove non-x86 stuff from arch/x86/kvm/ioapic.h
authorJuergen Gross <jgross@suse.com>
Thu, 1 Jul 2021 15:41:01 +0000 (17:41 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 2 Aug 2021 15:01:46 +0000 (11:01 -0400)
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@suse.com>
Message-Id: <20210701154105.23215-3-jgross@suse.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/ioapic.h

index 11e4065..bbd4a5d 100644 (file)
@@ -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 */