From: Helge Deller Date: Tue, 19 Jul 2022 04:19:41 +0000 (+0200) Subject: parisc: Drop pa_swapper_pg_lock spinlock X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3fbc9a7de0564c55d8a9584c9cd2c9dfe6bd6d43;p=linux.git parisc: Drop pa_swapper_pg_lock spinlock This spinlock was dropped with commit b7795074a046 ("parisc: Optimize per-pagetable spinlocks") in kernel v5.12. Remove it to silence a sparse warning. Signed-off-by: Helge Deller Reported-by: kernel test robot Cc: # v5.12+ --- diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c index a9bc578e4c52e..af3d7cdc1541b 100644 --- a/arch/parisc/kernel/cache.c +++ b/arch/parisc/kernel/cache.c @@ -50,9 +50,6 @@ void flush_instruction_cache_local(void); /* flushes local code-cache only */ */ DEFINE_SPINLOCK(pa_tlb_flush_lock); -/* Swapper page setup lock. */ -DEFINE_SPINLOCK(pa_swapper_pg_lock); - #if defined(CONFIG_64BIT) && defined(CONFIG_SMP) int pa_serialize_tlb_flushes __ro_after_init; #endif