powerpc/book3e: Clarify HW table walk enable/disable message
authorKumar Gala <galak@kernel.crashing.org>
Thu, 19 May 2011 20:09:28 +0000 (20:09 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 17 Jun 2011 06:19:51 +0000 (16:19 +1000)
Before if we didn't support or enable HW table walk we'd get a messaage
like:

MMU: Book3E Page Tables Disabled

Which is a bit misleading.  Now it will say:

MMU: Book3E HW tablewalk not supported

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/tlb_nohash.c

index 0bdad3a..5693499 100644 (file)
@@ -473,8 +473,8 @@ static void setup_mmu_htw(void)
                             (unsigned long)&exc_instruction_tlb_miss_htw_book3e, 0);
                book3e_htw_enabled = 1;
        }
-       pr_info("MMU: Book3E Page Tables %s\n",
-               book3e_htw_enabled ? "Enabled" : "Disabled");
+       pr_info("MMU: Book3E HW tablewalk %s\n",
+               book3e_htw_enabled ? "enabled" : "not supported");
 }
 
 /*