Explorar o código

[IA64] SN fix for cpu hotplug/kexec

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>
Jack Steiner %!s(int64=18) %!d(string=hai) anos
pai
achega
38f5745c5a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/ia64/sn/kernel/setup.c

+ 1 - 1
arch/ia64/sn/kernel/setup.c

@@ -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;