Skip to contentSkip to conversation

parisc: Drop pa_swapper_pg_lock spinlock

PATCH New Helge Deller 1 participant 1 message Jul 19, 2022 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 1/1 parisc: Drop pa_swapper_pg_lock spinlock

This spinlock isn't used any longer. Remove it to silence a sparse warning.

---
 arch/parisc/kernel/cache.c | 3 ---
 1 file changed, 3 deletions(-)
arch/parisc/kernel/cache.c +0 -3
index a9bc578e4c52..af3d7cdc1541 100644
@@ -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

--
2.35.3