diff options
Diffstat (limited to 'include/asm-mips/sn')
-rw-r--r-- | include/asm-mips/sn/arch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/sn/arch.h b/include/asm-mips/sn/arch.h index da523de628be..bd75945e10ff 100644 --- a/include/asm-mips/sn/arch.h +++ b/include/asm-mips/sn/arch.h | |||
@@ -19,8 +19,8 @@ | |||
19 | 19 | ||
20 | typedef u64 hubreg_t; | 20 | typedef u64 hubreg_t; |
21 | 21 | ||
22 | #define cputonasid(cpu) (cpu_data[(cpu)].p_nasid) | 22 | #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) |
23 | #define cputoslice(cpu) (cpu_data[(cpu)].p_slice) | 23 | #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) |
24 | #define makespnum(_nasid, _slice) \ | 24 | #define makespnum(_nasid, _slice) \ |
25 | (((_nasid) << CPUS_PER_NODE_SHFT) | (_slice)) | 25 | (((_nasid) << CPUS_PER_NODE_SHFT) | (_slice)) |
26 | 26 | ||