public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* powerpc: Fix pud_ERROR() message
@ 2006-03-03  5:24 David Gibson
  0 siblings, 0 replies; only message in thread
From: David Gibson @ 2006-03-03  5:24 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: Andrew Morton, linuxppc64-dev, linux-kernel

Paulus, please apply

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

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

Index: working-2.6/include/asm-powerpc/pgtable-4k.h
===================================================================
--- working-2.6.orig/include/asm-powerpc/pgtable-4k.h	2006-03-03 16:21:31.000000000 +1100
+++ working-2.6/include/asm-powerpc/pgtable-4k.h	2006-03-03 16:21:53.000000000 +1100
@@ -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))


-- 
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-03  5:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03  5:24 powerpc: Fix pud_ERROR() message David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox