summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips64/kernel/setup.c4
-rw-r--r--arch/mips64/sgi-ip27/ip27-init.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips64/kernel/setup.c b/arch/mips64/kernel/setup.c
index 32b8fe847..fe4c750d4 100644
--- a/arch/mips64/kernel/setup.c
+++ b/arch/mips64/kernel/setup.c
@@ -41,7 +41,9 @@
#include <asm/sn/sn0/addrs.h>
#endif
-struct cpuinfo_mips boot_cpu_data;
+#ifndef CONFIG_SMP
+struct cpuinfo_mips cpu_data[1];
+#endif
#ifdef CONFIG_VT
struct screen_info screen_info;
diff --git a/arch/mips64/sgi-ip27/ip27-init.c b/arch/mips64/sgi-ip27/ip27-init.c
index 51e51cd90..b7f34c2bf 100644
--- a/arch/mips64/sgi-ip27/ip27-init.c
+++ b/arch/mips64/sgi-ip27/ip27-init.c
@@ -166,11 +166,9 @@ void alloc_cpupda(int i)
node = get_cpu_cnode(i);
nasid = COMPACT_TO_NASID_NODEID(node);
-#ifdef CONFIG_SMP
cputonasid(i) = nasid;
cputocnode(i) = node;
cputoslice(i) = get_cpu_slice(i);
-#endif
}
int cpu_enabled(cpuid_t cpu)