mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2/4] stack overflow safe kdump (2.6.18-rc1-i386) - safe_smp_processor_id_voyager
@ 2006-07-11  6:05 Fernando Luis Vázquez Cao
  0 siblings, 0 replies; only message in thread
From: Fernando Luis Vázquez Cao @ 2006-07-11  6:05 UTC (permalink / raw)
  To: vgoyal
  Cc: Eric W. Biederman, akpm, ak, James.Bottomley, linux-kernel, fastboot

"safe_smp_processor_id" implementation for i386-Voyager.

Signed-off-by: Fernando Vazquez <fernando@intellilink.co.jp>
---

diff -urNp linux-2.6.18-rc1/arch/i386/mach-voyager/voyager_smp.c linux-2.6.18-rc1-sof/arch/i386/mach-voyager/voyager_smp.c
--- linux-2.6.18-rc1/arch/i386/mach-voyager/voyager_smp.c	2006-07-11 10:11:38.000000000 +0900
+++ linux-2.6.18-rc1-sof/arch/i386/mach-voyager/voyager_smp.c	2006-07-11 14:09:15.000000000 +0900
@@ -99,6 +99,7 @@ static void do_boot_cpu(__u8 cpuid);
 static void do_quad_bootstrap(void);
 
 int hard_smp_processor_id(void);
+int safe_smp_processor_id(void);
 
 /* Inline functions */
 static inline void
@@ -1247,6 +1248,12 @@ hard_smp_processor_id(void)
 	return 0;
 }
 
+int
+safe_smp_processor_id(void)
+{
+	return hard_smp_processor_id();
+}
+
 /* broadcast a halt to all other CPUs */
 void
 smp_send_stop(void)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-11  6:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-11  6:05 [PATCH 2/4] stack overflow safe kdump (2.6.18-rc1-i386) - safe_smp_processor_id_voyager Fernando Luis Vázquez Cao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome