aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/mach-voyager
diff options
context:
space:
mode:
authorFernando Vazquez <fernando@intellilink.co.jp>2006-10-01 02:29:08 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 03:39:31 -0400
commit2654c08caa12a06237b28f85446ae2d223c30144 (patch)
tree5b7d9060723ea1cd30e32343ed0b24a10fdcfd93 /arch/i386/mach-voyager
parentdc2bc768a009b9ad8711894c544dc6b0d8c0ce57 (diff)
[PATCH] stack overflow safe kdump: safe_smp_processor_id(): voyager
"safe_smp_processor_id" implementation for i386-Voyager. Signed-off-by: Fernando Vazquez <fernando@intellilink.co.jp> Looks-reasonable-to: Andi Kleen <ak@muc.de> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Vivek Goyal <vgoyal@in.ibm.com> Cc: James Bottomley <James.Bottomley@steeleye.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/mach-voyager')
-rw-r--r--arch/i386/mach-voyager/voyager_smp.c7
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);
99static void do_quad_bootstrap(void); 99static void do_quad_bootstrap(void);
100 100
101int hard_smp_processor_id(void); 101int hard_smp_processor_id(void);
102int safe_smp_processor_id(void);
102 103
103/* Inline functions */ 104/* Inline functions */
104static inline void 105static inline void
@@ -1247,6 +1248,12 @@ hard_smp_processor_id(void)
1247 return 0; 1248 return 0;
1248} 1249}
1249 1250
1251int
1252safe_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 */
1251void 1258void
1252smp_send_stop(void) 1259smp_send_stop(void)