]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: Implement __smp_store_release and __smp_load_acquire barriers
authorJohn David Anglin <dave.anglin@bell.net>
Thu, 30 Jul 2020 12:59:12 +0000 (08:59 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 07:48:16 +0000 (09:48 +0200)
commit0ca974e9e527afb1e9941f5f13c0cecac8d2b7b6
treea41d96da64ed4ebd0c214f6e115f7416e4c95ceb
parent337be2b46991cf3d5afe3dbb114440946b84fe42
parisc: Implement __smp_store_release and __smp_load_acquire barriers

commit e96ebd589debd9a6a793608c4ec7019c38785dea upstream.

This patch implements the __smp_store_release and __smp_load_acquire barriers
using ordered stores and loads.  This avoids the sync instruction present in
the generic implementation.

Cc: <stable@vger.kernel.org> # 4.14+
Signed-off-by: Dave Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/asm/barrier.h