summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-03-10 13:11:48 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-03-12 15:14:42 +0100
commit41d1f19a31824605ec98fda7458f9108e490fce5 (patch)
tree9bcb16bbf7850f5a21ec4df5f084e46981bf2e50
parent[MIPS] Fix yosemite build error (diff)
downloadlinux-41d1f19a31824605ec98fda7458f9108e490fce5.tar.xz
linux-41d1f19a31824605ec98fda7458f9108e490fce5.zip
[MIPS] Yosemite: Fix a few more section reference bugs.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/pmc-sierra/yosemite/smp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/pmc-sierra/yosemite/smp.c b/arch/mips/pmc-sierra/yosemite/smp.c
index 653f3ec61cab..3a7df647ca77 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))));