]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/mm: Unify PTE_RPN_SHIFT and _PAGE_CHG_MASK definitions
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Mar 2009 17:53:30 +0000 (17:53 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 20 Mar 2009 04:56:58 +0000 (15:56 +1100)
commita7d2dac802a7ff0677b0a5c2fdb9fe0d3fdaee0c
tree55fa2e474c2827e44f1b48b57288ab3051654f97
parentc605782b1c3f1c18a55dc1a75b19ed0288f61ac3
powerpc/mm: Unify PTE_RPN_SHIFT and _PAGE_CHG_MASK definitions

This updates the 32-bit headers to use the same definitions for the RPN
shift inside the PTE as 64-bit, and thus updates _PAGE_CHG_MASK to
become identical.

This does introduce a runtime visible difference, which is that now,
_PAGE_HASHPTE will be part of _PAGE_CHG_MASK and thus preserved. However
this should have no practical effect as it should have been preserved in
the first place and we got away with not having it there due to our
PTE access functions preserving it anyway.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pgtable-ppc32.h
arch/powerpc/include/asm/pte-fsl-booke.h