diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/smp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-powerpc/smp.h b/include/asm-powerpc/smp.h index 8bcdd0faefea..98581e5a8279 100644 --- a/include/asm-powerpc/smp.h +++ b/include/asm-powerpc/smp.h | |||
@@ -86,7 +86,6 @@ extern void __cpu_die(unsigned int cpu); | |||
86 | #else | 86 | #else |
87 | /* for UP */ | 87 | /* for UP */ |
88 | #define smp_setup_cpu_maps() | 88 | #define smp_setup_cpu_maps() |
89 | #define smp_release_cpus() | ||
90 | 89 | ||
91 | #endif /* CONFIG_SMP */ | 90 | #endif /* CONFIG_SMP */ |
92 | 91 | ||
@@ -94,6 +93,9 @@ extern void __cpu_die(unsigned int cpu); | |||
94 | #define get_hard_smp_processor_id(CPU) (paca[(CPU)].hw_cpu_id) | 93 | #define get_hard_smp_processor_id(CPU) (paca[(CPU)].hw_cpu_id) |
95 | #define set_hard_smp_processor_id(CPU, VAL) \ | 94 | #define set_hard_smp_processor_id(CPU, VAL) \ |
96 | do { (paca[(CPU)].hw_cpu_id = (VAL)); } while (0) | 95 | do { (paca[(CPU)].hw_cpu_id = (VAL)); } while (0) |
96 | |||
97 | extern void smp_release_cpus(void); | ||
98 | |||
97 | #else | 99 | #else |
98 | /* 32-bit */ | 100 | /* 32-bit */ |
99 | #ifndef CONFIG_SMP | 101 | #ifndef CONFIG_SMP |