Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38f5745c authored by Jack Steiner's avatar Jack Steiner Committed by Tony Luck
Browse files

[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: default avatarJack Steiner <steiner@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 1c7d6707
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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
 * Also sets up a few fields in the nodepda.  Also known as
 * platform_cpu_init() by the ia64 machvec code.
 * platform_cpu_init() by the ia64 machvec code.
 */
 */
void __init sn_cpu_init(void)
void __cpuinit sn_cpu_init(void)
{
{
	int cpuid;
	int cpuid;
	int cpuphyid;
	int cpuphyid;