diff options
Diffstat (limited to 'arch/i386/mach-voyager/voyager_smp.c')
-rw-r--r-- | arch/i386/mach-voyager/voyager_smp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/i386/mach-voyager/voyager_smp.c b/arch/i386/mach-voyager/voyager_smp.c index 6c86575ffdcb..856c73fcb7e7 100644 --- a/arch/i386/mach-voyager/voyager_smp.c +++ b/arch/i386/mach-voyager/voyager_smp.c | |||
@@ -99,6 +99,7 @@ static void do_boot_cpu(__u8 cpuid); | |||
99 | static void do_quad_bootstrap(void); | 99 | static void do_quad_bootstrap(void); |
100 | 100 | ||
101 | int hard_smp_processor_id(void); | 101 | int hard_smp_processor_id(void); |
102 | int safe_smp_processor_id(void); | ||
102 | 103 | ||
103 | /* Inline functions */ | 104 | /* Inline functions */ |
104 | static inline void | 105 | static inline void |
@@ -1247,6 +1248,12 @@ hard_smp_processor_id(void) | |||
1247 | return 0; | 1248 | return 0; |
1248 | } | 1249 | } |
1249 | 1250 | ||
1251 | int | ||
1252 | safe_smp_processor_id(void) | ||
1253 | { | ||
1254 | return hard_smp_processor_id(); | ||
1255 | } | ||
1256 | |||
1250 | /* broadcast a halt to all other CPUs */ | 1257 | /* broadcast a halt to all other CPUs */ |
1251 | void | 1258 | void |
1252 | smp_send_stop(void) | 1259 | smp_send_stop(void) |