瀏覽代碼

[MIPS] Yosemite: Fix a few more section reference bugs.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 17 年之前
父節點
當前提交
41d1f19a31
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      arch/mips/pmc-sierra/yosemite/smp.c

+ 3 - 3
arch/mips/pmc-sierra/yosemite/smp.c

@@ -7,10 +7,10 @@
 
 
 #define LAUNCHSTACK_SIZE 256
 #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
 static unsigned char launchstack[LAUNCHSTACK_SIZE] __initdata
 	__attribute__((aligned(2 * sizeof(long))));
 	__attribute__((aligned(2 * sizeof(long))));