summaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-07-31 08:01:42 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2019-07-31 14:02:52 +0200
commitd7e23b887f67178c4f840781be7a6aa6aeb52ab1 (patch)
treea79f299b178efa35799876153bb0b0744fbe9ad9 /mm/vmscan.c
parentdrivers/macintosh/smu.c: Mark expected switch fall-through (diff)
downloadlinux-d7e23b887f67178c4f840781be7a6aa6aeb52ab1.tar.xz
linux-d7e23b887f67178c4f840781be7a6aa6aeb52ab1.zip
powerpc/kasan: fix early boot failure on PPC32
Due to commit 4a6d8cf90017 ("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: 2edb16efc899 ("powerpc/32: Add KASAN support") Cc: stable@vger.kernel.org # v5.2+ Reported-by: Erhard F. <erhard_f@mailbox.org> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/da89670093651437f27d2975224712e0a130b055.1564552796.git.christophe.leroy@c-s.fr
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions