diff options
author | Helge Deller <deller@gmx.de> | 2022-07-19 07:19:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-17 16:13:48 +0300 |
commit | 6f0c087a68e5ce6b1de8ba18ed59f14c606e74d5 (patch) | |
tree | 4cd61dab89e9aea9391038a84e1ed8c9ffb1080e | |
parent | 5c9e6c5e86a09314fb52c01be03010715cbdc369 (diff) | |
download | linux-6f0c087a68e5ce6b1de8ba18ed59f14c606e74d5.tar.xz |
parisc: Drop pa_swapper_pg_lock spinlock
commit 3fbc9a7de0564c55d8a9584c9cd2c9dfe6bd6d43 upstream.
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 <deller@gmx.de>
Reported-by: kernel test robot <lkp@intel.com>
Cc: <stable@vger.kernel.org> # v5.12+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | arch/parisc/kernel/cache.c | 3 |
1 files changed, 0 insertions, 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 |