Skip to contentSkip to conversation

powerpc: Fix pud_ERROR() message

PATCH David Gibson 1 participant 1 message Mar 3, 2006

lore
Share & tools
lore
#0 lore raw

Paulus, please apply

The powerpc pud_ERROR() function misleadingly prints a message indicating a pmd error. This patch fixes.

include/asm-powerpc/pgtable-4k.h +1 -1
Index: working-2.6/include/asm-powerpc/pgtable-4k.h
===================================================================
@@ -93,4 +93,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))
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson