OSDN Git Service

powerpc/32: Simplify KASAN init
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 14 Jan 2020 17:54:03 +0000 (17:54 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 27 Jan 2020 11:37:45 +0000 (22:37 +1100)
commit509cd3f2b473330238c768bb21a4f2cdc80393fa
tree0788161f6357a08c6df35ad0841557c3be955dca
parent47febbeeec440eec213960e3d25c57a8312d5340
powerpc/32: Simplify KASAN init

Since kasan_init_region() is not used anymore for modules,
KASAN init is done while slab_is_available() is false.

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/84b27bf08b41c8343efd88e10f2eccd8e9f85593.1579024426.git.christophe.leroy@c-s.fr
arch/powerpc/mm/kasan/kasan_init_32.c