]> git.baikalelectronics.ru Git - kernel.git/commitdiff
parisc: Drop pa_swapper_pg_lock spinlock
authorHelge Deller <deller@gmx.de>
Tue, 19 Jul 2022 04:19:41 +0000 (06:19 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 1 Aug 2022 16:43:23 +0000 (18:43 +0200)
This spinlock was dropped with commit 8e41de55d8d7 ("parisc: Optimize
per-pagetable spinlocks") in kernel v5.12.

Remove it to silence a sparse warning.

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: kernel test robot <lkp@intel.com>
Cc: <stable@vger.kernel.org> # v5.12+
arch/parisc/kernel/cache.c

index a9bc578e4c52e57caa1f3d297cee5417f18722d1..af3d7cdc1541bdd091bb388fdef353052c28545e 100644 (file)
@@ -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