]> err.no Git - linux-2.6/commitdiff
[IA64] SN fix for cpu hotplug/kexec
authorJack Steiner <steiner@sgi.com>
Thu, 31 Aug 2006 16:35:57 +0000 (11:35 -0500)
committerTony Luck <tony.luck@intel.com>
Fri, 8 Sep 2006 18:06:06 +0000 (11:06 -0700)
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>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/setup.c

index c119e8b620de6ca2e198433ca3dc7049bdbe4207..5f2dcba7fa8da12a5d2827e6e414dbe2b0f85fbf 100644 (file)
@@ -565,7 +565,7 @@ static void __init sn_init_pdas(char **cmdline_p)
  * 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;