Skip to content

Commit

Permalink
Revert "apic: fix kvm build on UP without IOAPIC"
Browse files Browse the repository at this point in the history
This reverts commit f9808b7.
After commit 'kvm: switch to apic_set_eoi_write, apic_write'
the stubs are no longer needed as kvm does not look at apicdrivers anymore.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
  • Loading branch information
Michael S. Tsirkin authored and Avi Kivity committed Jul 16, 2012
1 parent 9053666 commit ebf7d2e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/x86/include/asm/apic.h
Original file line number Diff line number Diff line change
@@ -417,12 +417,7 @@ extern struct apic *apic;
__aligned(sizeof(struct apic *)) \
__section(.apicdrivers) = { &sym1, &sym2 }

#ifdef CONFIG_X86_LOCAL_APIC
extern struct apic *__apicdrivers[], *__apicdrivers_end[];
#else
#define __apicdrivers ((struct apic **)NULL)
#define __apicdrivers_end ((struct apic **)NULL)
#endif

/*
* APIC functionality to boot other CPUs - only used on SMP:

0 comments on commit ebf7d2e

Please sign in to comment.