From: Ralf Baechle Date: Mon, 10 Mar 2008 12:11:48 +0000 (+0000) Subject: [MIPS] Yosemite: Fix a few more section reference bugs. X-Git-Tag: v2.6.25-rc6~33^2~4 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=41d1f19a31824605ec98fda7458f9108e490fce5;p=linux-2.6-omap-h63xx.git [MIPS] Yosemite: Fix a few more section reference bugs. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/pmc-sierra/yosemite/smp.c b/arch/mips/pmc-sierra/yosemite/smp.c index 653f3ec61ca..3a7df647ca7 100644 --- a/arch/mips/pmc-sierra/yosemite/smp.c +++ b/arch/mips/pmc-sierra/yosemite/smp.c @@ -7,10 +7,10 @@ #define LAUNCHSTACK_SIZE 256 -static __initdata DEFINE_SPINLOCK(launch_lock); +static __cpuinitdata DEFINE_SPINLOCK(launch_lock); -static unsigned long secondary_sp __initdata; -static unsigned long secondary_gp __initdata; +static unsigned long secondary_sp __cpuinitdata; +static unsigned long secondary_gp __cpuinitdata; static unsigned char launchstack[LAUNCHSTACK_SIZE] __initdata __attribute__((aligned(2 * sizeof(long))));