diff options
Diffstat (limited to 'arch/powerpc/xmon')
-rw-r--r-- | arch/powerpc/xmon/xmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 381d467cf55b..c60d123e9f1f 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c | |||
@@ -2543,7 +2543,7 @@ static void dump_slb(void) | |||
2543 | 2543 | ||
2544 | printf("SLB contents of cpu %x\n", smp_processor_id()); | 2544 | printf("SLB contents of cpu %x\n", smp_processor_id()); |
2545 | 2545 | ||
2546 | for (i = 0; i < SLB_NUM_ENTRIES; i++) { | 2546 | for (i = 0; i < mmu_slb_size; i++) { |
2547 | asm volatile("slbmfee %0,%1" : "=r" (tmp) : "r" (i)); | 2547 | asm volatile("slbmfee %0,%1" : "=r" (tmp) : "r" (i)); |
2548 | printf("%02d %016lx ", i, tmp); | 2548 | printf("%02d %016lx ", i, tmp); |
2549 | 2549 | ||