From: David Gibson Date: Fri, 3 Mar 2006 05:24:06 +0000 (+1100) Subject: [PATCH] powerpc: Fix incorrect pud_ERROR() message X-Git-Tag: v2.6.16.28-rc1~351^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=141aa59b5347a4a021e37cfbc2258df9af9392f8;p=karo-tx-linux.git [PATCH] powerpc: Fix incorrect pud_ERROR() message The powerpc pud_ERROR() function misleadingly prints a message indicating a pmd error. This patch fixes it. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras --- diff --git a/include/asm-powerpc/pgtable-4k.h b/include/asm-powerpc/pgtable-4k.h index e9590c06ad92..80a7832d2721 100644 --- a/include/asm-powerpc/pgtable-4k.h +++ b/include/asm-powerpc/pgtable-4k.h @@ -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))