public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] - SN fix for cpu hotplug/kexec
@ 2006-08-31 16:35 Jack Steiner
  0 siblings, 0 replies; only message in thread
From: Jack Steiner @ 2006-08-31 16:35 UTC (permalink / raw)
  To: linux-ia64


The sn_cpu_init() is required for cpu initialization on SN platforms.
Change __init to __cpuinit so that the function is not freed with init code/data.


	Signed-off-by: Jack Steiner <steiner@sgi.com>


Index: linux/arch/ia64/sn/kernel/setup.c
=================================--- linux.orig/arch/ia64/sn/kernel/setup.c	2006-08-31 11:14:49.000000000 -0500
+++ linux/arch/ia64/sn/kernel/setup.c	2006-08-31 11:22:20.970284690 -0500
@@ -565,7 +565,7 @@ static void __init sn_init_pdas(char **c
  * Also sets up a few fields in the nodepda.  Also known as
  * platform_cpu_init() by the ia64 machvec code.
  */
-void __init sn_cpu_init(void)
+void __cpuinit sn_cpu_init(void)
 {
 	int cpuid;
 	int cpuphyid;

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

only message in thread, other threads:[~2006-08-31 16:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-31 16:35 [PATCH] - SN fix for cpu hotplug/kexec Jack Steiner

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