patch powerpc-fix-incorrect-setting-of-__have_arch_pte_special.patch added to 2.6.30-stable tree

gregkh at gregkh at
Fri Oct 2 08:51:50 EST 2009

This is a note to let you know that we have just queued up the patch titled

    Subject: powerpc: Fix incorrect setting of __HAVE_ARCH_PTE_SPECIAL

to the 2.6.30-stable tree.  Its filename is


A git repo of this tree can be found at;a=summary

>From benh at  Thu Oct  1 15:36:15 2009
From: Weirich, Bernhard <Bernhard.Weirich at>
Date: Thu, 24 Sep 2009 17:16:53 +1000
Subject: powerpc: Fix incorrect setting of __HAVE_ARCH_PTE_SPECIAL
To: stable <stable at>
Cc: linuxppc-dev list <linuxppc-dev at>, bernhard.weirich at, RFeany at
Message-ID: <1253776613.7103.433.camel at pasglop>

From: Weirich, Bernhard <Bernhard.Weirich at>

[I'm going to fix upstream differently, by having all CPU types
actually support _PAGE_SPECIAL, but I prefer the simple and obvious
fix for -stable. -- Ben]

The test that decides whether to define __HAVE_ARCH_PTE_SPECIAL on
powerpc is bogus and will end up always defining it, even when
_PAGE_SPECIAL is not supported (in which case it's 0) such as on
8xx or 40x processors.

Signed-off-by: Bernhard Weirich <bernhard.weirich at>
Signed-off-by: Benjamin Herrenschmidt <benh at>
Signed-off-by: Greg Kroah-Hartman <gregkh at>

 arch/powerpc/include/asm/pte-common.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/powerpc/include/asm/pte-common.h
+++ b/arch/powerpc/include/asm/pte-common.h
@@ -176,7 +176,7 @@ extern unsigned long bad_call_to_PMD_PAG
 #define HAVE_PAGE_AGP
 /* Advertise support for _PAGE_SPECIAL */
+#if _PAGE_SPECIAL != 0

Patches currently in stable-queue which might be from Bernhard.Weirich at are


More information about the Linuxppc-dev mailing list