diff options
author | Anton Vorontsov <cbouatmailru@gmail.com> | 2008-07-29 18:05:23 -0400 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2008-07-29 18:05:23 -0400 |
commit | 9fec6060d9e48ed7db0dac0e16d0f0f0e615b7f6 (patch) | |
tree | 74b41f31a08f6500ff3dfcf64ba21e2d9a8e87e5 /include/asm-powerpc/smp.h | |
parent | fece418418f51e92dd7e67e17c5e3fe5a28d3279 (diff) | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) |
Merge branch 'master' of /home/cbou/linux-2.6
Conflicts:
drivers/power/Kconfig
drivers/power/Makefile
Diffstat (limited to 'include/asm-powerpc/smp.h')
-rw-r--r-- | include/asm-powerpc/smp.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/asm-powerpc/smp.h b/include/asm-powerpc/smp.h index 505f35bacaa9..4d28e1e4521b 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); |
@@ -60,6 +62,8 @@ extern int smp_hw_index[]; | |||
60 | #endif | 62 | #endif |
61 | 63 | ||
62 | DECLARE_PER_CPU(cpumask_t, cpu_sibling_map); | 64 | DECLARE_PER_CPU(cpumask_t, cpu_sibling_map); |
65 | DECLARE_PER_CPU(cpumask_t, cpu_core_map); | ||
66 | extern int cpu_to_core_id(int cpu); | ||
63 | 67 | ||
64 | /* Since OpenPIC has only 4 IPIs, we use slightly different message numbers. | 68 | /* Since OpenPIC has only 4 IPIs, we use slightly different message numbers. |
65 | * | 69 | * |
@@ -67,10 +71,7 @@ DECLARE_PER_CPU(cpumask_t, cpu_sibling_map); | |||
67 | * in /proc/interrupts will be wrong!!! --Troy */ | 71 | * in /proc/interrupts will be wrong!!! --Troy */ |
68 | #define PPC_MSG_CALL_FUNCTION 0 | 72 | #define PPC_MSG_CALL_FUNCTION 0 |
69 | #define PPC_MSG_RESCHEDULE 1 | 73 | #define PPC_MSG_RESCHEDULE 1 |
70 | /* This is unused now */ | 74 | #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 | 75 | #define PPC_MSG_DEBUGGER_BREAK 3 |
75 | 76 | ||
76 | void smp_init_iSeries(void); | 77 | void smp_init_iSeries(void); |
@@ -117,6 +118,9 @@ extern void smp_generic_take_timebase(void); | |||
117 | 118 | ||
118 | extern struct smp_ops_t *smp_ops; | 119 | extern struct smp_ops_t *smp_ops; |
119 | 120 | ||
121 | extern void arch_send_call_function_single_ipi(int cpu); | ||
122 | extern void arch_send_call_function_ipi(cpumask_t mask); | ||
123 | |||
120 | #endif /* __ASSEMBLY__ */ | 124 | #endif /* __ASSEMBLY__ */ |
121 | 125 | ||
122 | #endif /* __KERNEL__ */ | 126 | #endif /* __KERNEL__ */ |