]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit738a8e7d60c488cfd975e96fab9b1bad4b6581bd
tree0788161f6357a08c6df35ad0841557c3be955dca
parent5bc8fe43ef0da81c0ebf27e23ca6eeed17412248
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