powerpc: Don't hard code the size of pte page
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 28 Apr 2013 09:37:27 +0000 (09:37 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 30 Apr 2013 05:59:46 +0000 (15:59 +1000)
commitcc3665a60a4ff072f5b5b18312bdf9b6612c5814
tree017bcd677a8e0e5a7f7766b0c6ba471e00370ac2
parentce54152f429ed5e6ad83e5e9f61825b5a795dd1e
powerpc: Don't hard code the size of pte page

USE PTRS_PER_PTE to indicate the size of pte page. To support THP,
later patches will be changing PTRS_PER_PTE value.

Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pgtable.h
arch/powerpc/mm/hash_low_64.S