提交 ebf7d2e9 编写于 作者: M Michael S. Tsirkin 提交者: Avi Kivity

Revert "apic: fix kvm build on UP without IOAPIC"

This reverts commit f9808b7f.
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: NMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 90536664
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册