mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
powerpc/kasan: Remove unnecessary page table locking
Commit45ff3c5595("powerpc/kasan: Fix parallel loading of modules.") added spinlocks to manage parallele module loading. Since then commit47febbeeec("powerpc/32: Force KASAN_VMALLOC for modules") converted the module loading to KASAN_VMALLOC. The spinlocking has then become unneeded and can be removed to simplify kasan_init_shadow_page_tables() Also remove inclusion of linux/moduleloader.h and linux/vmalloc.h which are not needed anymore since the removal of modules management. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/81a4d3aee8b82bc1355595935c8f4ad9d3b22a83.1589866984.git.christophe.leroy@csgroup.eu
This commit is contained in:
parent
d2a91cef9b
commit
7c31c05e00
1 changed files with 4 additions and 15 deletions
Loading…
Add table
Add a link
Reference in a new issue