]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/xmon/xmon.c
[POWERPC] Use SLB size from the device tree
[linux-2.6-omap-h63xx.git] / arch / powerpc / xmon / xmon.c
index 381d467cf55b80bc45963167cdd2c14105e16bea..c60d123e9f1f88dba595c6e29a90a6e17bd2c12b 100644 (file)
@@ -2543,7 +2543,7 @@ static void dump_slb(void)
 
        printf("SLB contents of cpu %x\n", smp_processor_id());
 
-       for (i = 0; i < SLB_NUM_ENTRIES; i++) {
+       for (i = 0; i < mmu_slb_size; i++) {
                asm volatile("slbmfee  %0,%1" : "=r" (tmp) : "r" (i));
                printf("%02d %016lx ", i, tmp);