diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:05 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:05 -0400 |
commit | cc6e8e0812cf95aea397c457ff48de2ac069614f (patch) | |
tree | da0527908dceed57cd10204034a6b2c888a34863 /arch/mips/sgi-ip27 | |
parent | 641e97f318870921d048154af6807e46e43c307a (diff) |
[MIPS] Remove IP27 specific structures from struct cpuinfo_mips
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-init.c | 3 | ||||
-rw-r--r-- | arch/mips/sgi-ip27/ip27-smp.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip27/ip27-init.c b/arch/mips/sgi-ip27/ip27-init.c index 74158d34963..af08c41d6aa 100644 --- a/arch/mips/sgi-ip27/ip27-init.c +++ b/arch/mips/sgi-ip27/ip27-init.c | |||
@@ -47,6 +47,9 @@ cnodeid_t cpuid_to_compact_node[MAXCPUS]; | |||
47 | 47 | ||
48 | EXPORT_SYMBOL(nasid_to_compact_node); | 48 | EXPORT_SYMBOL(nasid_to_compact_node); |
49 | 49 | ||
50 | struct cpuinfo_ip27 sn_cpu_info[NR_CPUS]; | ||
51 | EXPORT_SYMBOL_GPL(sn_cpu_info); | ||
52 | |||
50 | extern void pcibr_setup(cnodeid_t); | 53 | extern void pcibr_setup(cnodeid_t); |
51 | 54 | ||
52 | extern void xtalk_probe_node(cnodeid_t nid); | 55 | extern void xtalk_probe_node(cnodeid_t nid); |
diff --git a/arch/mips/sgi-ip27/ip27-smp.c b/arch/mips/sgi-ip27/ip27-smp.c index fbb27728a76..493777e39a0 100644 --- a/arch/mips/sgi-ip27/ip27-smp.c +++ b/arch/mips/sgi-ip27/ip27-smp.c | |||
@@ -33,7 +33,7 @@ static void alloc_cpupda(cpuid_t cpu, int cpunum) | |||
33 | nasid_t nasid = COMPACT_TO_NASID_NODEID(node); | 33 | nasid_t nasid = COMPACT_TO_NASID_NODEID(node); |
34 | 34 | ||
35 | cputonasid(cpunum) = nasid; | 35 | cputonasid(cpunum) = nasid; |
36 | cpu_data[cpunum].p_nodeid = node; | 36 | sn_cpu_info[cpunum].p_nodeid = node; |
37 | cputoslice(cpunum) = get_cpu_slice(cpu); | 37 | cputoslice(cpunum) = get_cpu_slice(cpu); |
38 | } | 38 | } |
39 | 39 | ||