powerpc/mm: Use PAGE_FACTOR
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 12 Nov 2014 02:29:28 +0000 (13:29 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 12 Nov 2014 02:54:36 +0000 (13:54 +1100)
commitd1d5304fcbc519f5fb12cbcca9c4fdd1d94447d7
tree11a6abadaeb8baf59b188da1726b90a660c7f227
parentcd32e2dcc9de6c27ecbbfc0e2079fb64b42bad5f
powerpc/mm: Use PAGE_FACTOR

PAGE_FACTOR was defined to reflect the difference between configured
page size and fixed 4KB page size. Replace (PAGE_SHIFT - HW_PAGE_SHIFT)
with PAGE_FACTOR.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash_low_64.S