public inbox for linux-parisc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] parisc: Drop pa_swapper_pg_lock spinlock
@ 2022-07-19  4:21 Helge Deller
  0 siblings, 0 replies; only message in thread
From: Helge Deller @ 2022-07-19  4:21 UTC (permalink / raw)
  To: linux-parisc, James Bottomley, John David Anglin

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

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: kernel test robot <lkp@intel.com>
---
 arch/parisc/kernel/cache.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/parisc/kernel/cache.c b/arch/parisc/kernel/cache.c
index a9bc578e4c52..af3d7cdc1541 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
--
2.35.3


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-19  4:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-19  4:21 [PATCH] parisc: Drop pa_swapper_pg_lock spinlock Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox