diff options
author | Helge Deller <deller@gmx.de> | 2020-07-28 19:54:40 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2020-07-28 19:54:40 +0300 |
commit | 6e9f06ee6c9566f3606d93182ac8f803a148504b (patch) | |
tree | d3a249ba445cdac167c333dc04a143b4069488de /arch/parisc/include | |
parent | 462fb756c7de1ffe5bc6099149136031c2d9c02a (diff) | |
download | linux-6e9f06ee6c9566f3606d93182ac8f803a148504b.tar.xz |
Revert "parisc: Use ldcw instruction for SMP spinlock release barrier"
This reverts commit 9e5c602186a692a7e848c0da17aed40f49d30519.
No need to use the ldcw instruction as SMP spinlock release barrier.
Revert it to gain back speed again.
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v5.2+
Diffstat (limited to 'arch/parisc/include')
-rw-r--r-- | arch/parisc/include/asm/spinlock.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/parisc/include/asm/spinlock.h b/arch/parisc/include/asm/spinlock.h index d2a3337599fb..6f85ca70ce23 100644 --- a/arch/parisc/include/asm/spinlock.h +++ b/arch/parisc/include/asm/spinlock.h @@ -37,11 +37,7 @@ static inline void arch_spin_unlock(arch_spinlock_t *x) volatile unsigned int *a; a = __ldcw_align(x); -#ifdef CONFIG_SMP - (void) __ldcw(a); -#else mb(); -#endif *a = 1; } |