diff options
author | Noam Camus <noamc@ezchip.com> | 2013-02-26 08:22:46 +0100 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-05-07 10:13:54 +0200 |
commit | e3edeb67fbd6c522a46a844c569fc41a8a2b6876 (patch) | |
tree | b8039fbd996c7ba22d6fc17884f0bb641dbd42d3 /arch/arc | |
parent | ARC: Remove non existent refs to GENERIC_KERNEL_EXECVE & GENERIC_KERNEL_THREAD (diff) | |
download | linux-e3edeb67fbd6c522a46a844c569fc41a8a2b6876.tar.xz linux-e3edeb67fbd6c522a46a844c569fc41a8a2b6876.zip |
ARC: Respect the cpu_id passed for fetching correct cpu info
Signed-off-by: Noam Camus <noamc@ezchip.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/mm/tlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/mm/tlb.c b/arch/arc/mm/tlb.c index f71a26d3f68e..c03364af9363 100644 --- a/arch/arc/mm/tlb.c +++ b/arch/arc/mm/tlb.c @@ -466,7 +466,7 @@ void __cpuinit read_decode_mmu_bcr(void) char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len) { int n = 0; - struct cpuinfo_arc_mmu *p_mmu = &cpuinfo_arc700[smp_processor_id()].mmu; + struct cpuinfo_arc_mmu *p_mmu = &cpuinfo_arc700[cpu_id].mmu; n += scnprintf(buf + n, len - n, "ARC700 MMU [v%x]\t: %dk PAGE, ", p_mmu->ver, TO_KB(p_mmu->pg_sz)); |