From: Robin Holt Date: Mon, 8 Dec 2008 14:43:46 +0000 (-0600) Subject: [IA64] Clear up section mismatch for sn_check_wars. X-Git-Tag: v2.6.28-rc8~12^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6882edc04f37691ff9c7fcb30b52506cd7697eb0;p=linux-2.6-omap-h63xx.git [IA64] Clear up section mismatch for sn_check_wars. The generic_defconfig has three section mismatches. This clears up sn_check_wars(). Signed-off-by: Robin Holt Signed-off-by: Jack Steiner Signed-off-by: Tony Luck --- diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c index b683eb35582..02c5b8a9fb6 100644 --- a/arch/ia64/sn/kernel/setup.c +++ b/arch/ia64/sn/kernel/setup.c @@ -200,7 +200,7 @@ static int __cpuinitdata shub_1_1_found; * Set flag for enabling shub specific wars */ -static inline int __init is_shub_1_1(int nasid) +static inline int __cpuinit is_shub_1_1(int nasid) { unsigned long id; int rev; @@ -212,7 +212,7 @@ static inline int __init is_shub_1_1(int nasid) return rev <= 2; } -static void __init sn_check_for_wars(void) +static void __cpuinit sn_check_for_wars(void) { int cnode;