mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
Due to commit4a6d8cf900("powerpc/mm: don't use pte_alloc_kernel() until slab is available on PPC32"), pte_alloc_kernel() cannot be used during early KASAN init. Fix it by using memblock_alloc() instead. Fixes:2edb16efc8("powerpc/32: Add KASAN support") Cc: [email protected] # v5.2+ Reported-by: Erhard F. <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/da89670093651437f27d2975224712e0a130b055.1564552796.git.christophe.leroy@c-s.fr