Skip to content

Commit 3fbc9a7

Browse files
committed
parisc: Drop pa_swapper_pg_lock spinlock
This spinlock was dropped with commit b779507 ("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+
1 parent 16bf37b commit 3fbc9a7

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

arch/parisc/kernel/cache.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ void flush_instruction_cache_local(void); /* flushes local code-cache only */
5050
*/
5151
DEFINE_SPINLOCK(pa_tlb_flush_lock);
5252

53-
/* Swapper page setup lock. */
54-
DEFINE_SPINLOCK(pa_swapper_pg_lock);
55-
5653
#if defined(CONFIG_64BIT) && defined(CONFIG_SMP)
5754
int pa_serialize_tlb_flushes __ro_after_init;
5855
#endif

0 commit comments

Comments
 (0)