diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-07-15 08:56:58 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-07-16 05:51:56 -0400 |
commit | ebf7d2e9939f6571ef0b7381e7f95eb10f0c686b (patch) | |
tree | 2b90445013159033643be0500f5aa2c4da661206 | |
parent | 90536664063641bf87d8ac9e109f3f109f804d3e (diff) |
Revert "apic: fix kvm build on UP without IOAPIC"
This reverts commit f9808b7fd422b965cea52e05ba470e0a473c53d3.
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>
-rw-r--r-- | arch/x86/include/asm/apic.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index ff8dff645e80..839b8f58a272 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h | |||
@@ -417,12 +417,7 @@ extern struct apic *apic; | |||
417 | __aligned(sizeof(struct apic *)) \ | 417 | __aligned(sizeof(struct apic *)) \ |
418 | __section(.apicdrivers) = { &sym1, &sym2 } | 418 | __section(.apicdrivers) = { &sym1, &sym2 } |
419 | 419 | ||
420 | #ifdef CONFIG_X86_LOCAL_APIC | ||
421 | extern struct apic *__apicdrivers[], *__apicdrivers_end[]; | 420 | extern struct apic *__apicdrivers[], *__apicdrivers_end[]; |
422 | #else | ||
423 | #define __apicdrivers ((struct apic **)NULL) | ||
424 | #define __apicdrivers_end ((struct apic **)NULL) | ||
425 | #endif | ||
426 | 421 | ||
427 | /* | 422 | /* |
428 | * APIC functionality to boot other CPUs - only used on SMP: | 423 | * APIC functionality to boot other CPUs - only used on SMP: |