[MIPS] Yosemite: Fix a few more section reference bugs.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 10 Mar 2008 12:11:48 +0000 (12:11 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Mar 2008 14:14:42 +0000 (14:14 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pmc-sierra/yosemite/smp.c

index 653f3ec61cababae9a75320da0ec6fa8b96a8ea2..3a7df647ca7739b9336cc22ade77c34d883d5252 100644 (file)
@@ -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))));