]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0e71f6f6ec69f22549028083653b99ff5980683
tree017bcd677a8e0e5a7f7766b0c6ba471e00370ac2
parent1697988d0582bbd653ff92ca8d585b0dbcdc27f8
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