]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit336fda0280fc9974e0c0b8431fd06502f2edd129
treedfe8e7c6cf747300835257e48d697fa3a2c86a7c
parent6924dcff4456539a2bef331db7ab2913eebd679e
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: fb5d99f3f856 ("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