]> 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)
commit6822d2270f0a01ecdbd982640a776b0d5cfeb3c3
treedfe8e7c6cf747300835257e48d697fa3a2c86a7c
parent37b09ee727d75fa008660b4c4ab44dbe93e6247c
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: 8eb32052b391 ("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