]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
powerpc/mm: Fix 40x and 8xx vs. _PAGE_SPECIAL
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 22 Sep 2009 18:12:26 +0000 (18:12 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 24 Sep 2009 05:31:49 +0000 (15:31 +1000)
commitf32af63ed1327451cb91e3816fa043b6c2c52db1
treeccce3ffd1995ea3404c7984c34bc93fafb3740d6
parent142597dbbd8a1d516af3dacfa00037f21612e865
powerpc/mm: Fix 40x and 8xx vs. _PAGE_SPECIAL

The test to check whether we have _PAGE_SPECIAL defined is broken,
since we always define it, just not always to a meaninful value :-)

That broke 8xx and 40x under some circumstances.

This fixes it by adding _PAGE_SPECIAL for both of these since they
had a free PTE bit, and removing the condition around advertising
it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pte-40x.h
arch/powerpc/include/asm/pte-8xx.h
arch/powerpc/include/asm/pte-common.h