powerpc/mm/nohash: Move definition of PGALLOC_GFP to fix build errors
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Aug 2017 10:02:56 +0000 (20:02 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Aug 2017 10:02:56 +0000 (20:02 +1000)
commit5b6c133e0801007117cf4a466cb56de86e186138
treedfe8e7c6cf747300835257e48d697fa3a2c86a7c
parente12d94f80614475b07d046eb095e6b8c1d9dd38d
powerpc/mm/nohash: Move definition of PGALLOC_GFP to fix build errors

In some obscure Book3E configs (randconfig) we can end up missing a
definition for PGALLOC_GFP in pgtable_64.c.

Fix it by moving the definition to asm/pgalloc.h.

Fixes: de3b87611dd1 ("powerpc/mm/book(e)(3s)/64: Add page table accounting")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/pgalloc.h
arch/powerpc/include/asm/pgalloc.h