diff options
Diffstat (limited to 'include/asm-powerpc/smp.h')
-rw-r--r-- | include/asm-powerpc/smp.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-powerpc/smp.h b/include/asm-powerpc/smp.h index 505f35bacaa9..416d4c288cea 100644 --- a/include/asm-powerpc/smp.h +++ b/include/asm-powerpc/smp.h | |||
@@ -37,6 +37,8 @@ extern void cpu_die(void); | |||
37 | extern void smp_send_debugger_break(int cpu); | 37 | extern void smp_send_debugger_break(int cpu); |
38 | extern void smp_message_recv(int); | 38 | extern void smp_message_recv(int); |
39 | 39 | ||
40 | DECLARE_PER_CPU(unsigned int, pvr); | ||
41 | |||
40 | #ifdef CONFIG_HOTPLUG_CPU | 42 | #ifdef CONFIG_HOTPLUG_CPU |
41 | extern void fixup_irqs(cpumask_t map); | 43 | extern void fixup_irqs(cpumask_t map); |
42 | int generic_cpu_disable(void); | 44 | int generic_cpu_disable(void); |
@@ -67,10 +69,7 @@ DECLARE_PER_CPU(cpumask_t, cpu_sibling_map); | |||
67 | * in /proc/interrupts will be wrong!!! --Troy */ | 69 | * in /proc/interrupts will be wrong!!! --Troy */ |
68 | #define PPC_MSG_CALL_FUNCTION 0 | 70 | #define PPC_MSG_CALL_FUNCTION 0 |
69 | #define PPC_MSG_RESCHEDULE 1 | 71 | #define PPC_MSG_RESCHEDULE 1 |
70 | /* This is unused now */ | 72 | #define PPC_MSG_CALL_FUNC_SINGLE 2 |
71 | #if 0 | ||
72 | #define PPC_MSG_MIGRATE_TASK 2 | ||
73 | #endif | ||
74 | #define PPC_MSG_DEBUGGER_BREAK 3 | 73 | #define PPC_MSG_DEBUGGER_BREAK 3 |
75 | 74 | ||
76 | void smp_init_iSeries(void); | 75 | void smp_init_iSeries(void); |
@@ -117,6 +116,9 @@ extern void smp_generic_take_timebase(void); | |||
117 | 116 | ||
118 | extern struct smp_ops_t *smp_ops; | 117 | extern struct smp_ops_t *smp_ops; |
119 | 118 | ||
119 | extern void arch_send_call_function_single_ipi(int cpu); | ||
120 | extern void arch_send_call_function_ipi(cpumask_t mask); | ||
121 | |||
120 | #endif /* __ASSEMBLY__ */ | 122 | #endif /* __ASSEMBLY__ */ |
121 | 123 | ||
122 | #endif /* __KERNEL__ */ | 124 | #endif /* __KERNEL__ */ |