[PATCH] powerpc: Fix incorrect pud_ERROR() message
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 3 Mar 2006 05:24:06 +0000 (16:24 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 3 Mar 2006 11:00:52 +0000 (22:00 +1100)
The powerpc pud_ERROR() function misleadingly prints a message
indicating a pmd error.  This patch fixes it.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/pgtable-4k.h

index e9590c06ad9276541a191ec1f3a3057452c7bde9..80a7832d272177ec255189ba68b361a29d83df12 100644 (file)
@@ -88,4 +88,4 @@
     (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
 
 #define pud_ERROR(e) \
-       printk("%s:%d: bad pmd %08lx.\n", __FILE__, __LINE__, pud_val(e))
+       printk("%s:%d: bad pud %08lx.\n", __FILE__, __LINE__, pud_val(e))