diff options
-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) | |||
466 | char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len) | 466 | char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len) |
467 | { | 467 | { |
468 | int n = 0; | 468 | int n = 0; |
469 | struct cpuinfo_arc_mmu *p_mmu = &cpuinfo_arc700[smp_processor_id()].mmu; | 469 | struct cpuinfo_arc_mmu *p_mmu = &cpuinfo_arc700[cpu_id].mmu; |
470 | 470 | ||
471 | n += scnprintf(buf + n, len - n, "ARC700 MMU [v%x]\t: %dk PAGE, ", | 471 | n += scnprintf(buf + n, len - n, "ARC700 MMU [v%x]\t: %dk PAGE, ", |
472 | p_mmu->ver, TO_KB(p_mmu->pg_sz)); | 472 | p_mmu->ver, TO_KB(p_mmu->pg_sz)); |