Skip to content
Commit 5b6c133e authored by Michael Ellerman's avatar Michael Ellerman
Browse files

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: de3b8761 ("powerpc/mm/book(e)(3s)/64: Add page table accounting")
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent e12d94f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment