powerpc/mm/nohash: add definition of PGALLOC_GFP
PATCH 1/1 powerpc/mm/nohash: add definition of PGALLOC_GFP
fixes
(de3b876 powerpc/mm/book(e)(3s)/64: Add page table accounting)
I missed adding PGALLOC_GFP for nohash/64
Reported-by Michael Ellerman <[email protected]>
Signed-off-by Balbir Singh <[email protected]>
--- arch/powerpc/include/asm/nohash/64/pgalloc.h | 2 ++ 1 file changed, 2 insertions(+)
arch/powerpc/include/asm/nohash/64/pgalloc.h +2 -0
@@ -41,6 +41,8 @@ extern struct kmem_cache *pgtable_cache[]; pgtable_cache[(shift) -1 ]; \ }) +#define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO) +static inline pgd_t *pgd_alloc (struct mm_struct *mm) { return kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE),
Signature · 1 line
2.9.4
Michael Ellerman
AppliedQuoted 7 lines · Balbir Singh
fixes
(de3b876 powerpc/mm/book(e)(3s)/64: Add page table accounting)I missed adding
PGALLOC_GFPfor nohash/64Reported-by Michael Ellerman <[email protected]>Signed-off-by Balbir Singh <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/5b6c133e0801007117cf4a466cb56d
cheers