powerpc: Fix incorrect setting of __HAVE_ARCH_PTE_SPECIAL
commit9eab65aba2fd0c94fa702a9e5dfd843de07f6dc4
authorWeirich, Bernhard <Bernhard.Weirich@riedel.net>
Thu, 24 Sep 2009 07:16:53 +0000 (24 17:16 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 15:28:04 +0000 (5 08:28 -0700)
tree6945c21806f4c59dc22af9fb6ec26e49e18de4d6
parent8bca1d4bb3d6ff6cd35bcb26aa32ceb111e06349
powerpc: Fix incorrect setting of __HAVE_ARCH_PTE_SPECIAL

[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@riedel.net>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/include/asm/pte-common.h