aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/apic.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-02-25 23:50:49 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-26 00:32:25 -0500
commit2b6163bf5772644068694583816fa41e8474239f (patch)
treeb854e9070254ad2942901941b67e8a56d61f7f91 /arch/x86/include/asm/apic.h
parentecc25fbd6b9e07b33895c61ddf84006b00f55d99 (diff)
x86: remove update_apic from x86_quirks
Impact: cleanup x86_quirks->update_apic() calling looks crazy. so try to remove it: 1. every apic take wakeup_cpu member directly 2. separate es7000_apic to es7000_apic_cluster 3. use uv_wakeup_cpu directly Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r--arch/x86/include/asm/apic.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index a6208dc74633..860504178e94 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -325,6 +325,9 @@ struct apic {
325}; 325};
326 326
327extern struct apic *apic; 327extern struct apic *apic;
328extern atomic_t init_deasserted;
329extern int wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip);
330extern int wakeup_secondary_cpu_via_init(int apicid, unsigned long start_eip);
328 331
329static inline u32 apic_read(u32 reg) 332static inline u32 apic_read(u32 reg)
330{ 333{
@@ -384,9 +387,7 @@ static inline unsigned default_get_apic_id(unsigned long x)
384#define DEFAULT_TRAMPOLINE_PHYS_LOW 0x467 387#define DEFAULT_TRAMPOLINE_PHYS_LOW 0x467
385#define DEFAULT_TRAMPOLINE_PHYS_HIGH 0x469 388#define DEFAULT_TRAMPOLINE_PHYS_HIGH 0x469
386 389
387#ifdef CONFIG_X86_32 390#ifdef CONFIG_X86_64
388extern void es7000_update_apic_to_cluster(void);
389#else
390extern struct apic apic_flat; 391extern struct apic apic_flat;
391extern struct apic apic_physflat; 392extern struct apic apic_physflat;
392extern struct apic apic_x2apic_cluster; 393extern struct apic apic_x2apic_cluster;