aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/smp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/smp.h')
-rw-r--r--include/asm-i386/smp.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/asm-i386/smp.h b/include/asm-i386/smp.h
index 55ef31f66bbe..a283738b80b3 100644
--- a/include/asm-i386/smp.h
+++ b/include/asm-i386/smp.h
@@ -37,15 +37,19 @@ extern int smp_num_siblings;
37extern cpumask_t cpu_sibling_map[]; 37extern cpumask_t cpu_sibling_map[];
38extern cpumask_t cpu_core_map[]; 38extern cpumask_t cpu_core_map[];
39 39
40extern void smp_flush_tlb(void);
41extern void smp_message_irq(int cpl, void *dev_id, struct pt_regs *regs);
42extern void smp_invalidate_rcv(void); /* Process an NMI */
43extern void (*mtrr_hook) (void); 40extern void (*mtrr_hook) (void);
44extern void zap_low_mappings (void); 41extern void zap_low_mappings (void);
42extern void lock_ipi_call_lock(void);
43extern void unlock_ipi_call_lock(void);
45 44
46#define MAX_APICID 256 45#define MAX_APICID 256
47extern u8 x86_cpu_to_apicid[]; 46extern u8 x86_cpu_to_apicid[];
48 47
48#ifdef CONFIG_HOTPLUG_CPU
49extern void cpu_exit_clear(void);
50extern void cpu_uninit(void);
51#endif
52
49/* 53/*
50 * This function is needed by all SMP systems. It must _always_ be valid 54 * This function is needed by all SMP systems. It must _always_ be valid
51 * from the initial startup. We map APIC_BASE very early in page_setup(), 55 * from the initial startup. We map APIC_BASE very early in page_setup(),
@@ -83,6 +87,9 @@ static __inline int logical_smp_processor_id(void)
83} 87}
84 88
85#endif 89#endif
90
91extern int __cpu_disable(void);
92extern void __cpu_die(unsigned int cpu);
86#endif /* !__ASSEMBLY__ */ 93#endif /* !__ASSEMBLY__ */
87 94
88#define NO_PROC_ID 0xFF /* No processor magic marker */ 95#define NO_PROC_ID 0xFF /* No processor magic marker */