]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: Avoid clobbering the C/B bits in the PSW with tophys and tovirt macros
authorJohn David Anglin <dave.anglin@bell.net>
Fri, 23 Feb 2024 15:40:51 +0000 (16:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:28:21 +0000 (15:28 +0200)
commit6bd42452713e1d8fd3d30e7dca7f99cbcabae850
treedf9a542db9e3e92dc3319c49eab3fdc9dc1b1c33
parent51408b47f8afc41606f0a390691270a17585e8eb
parisc: Avoid clobbering the C/B bits in the PSW with tophys and tovirt macros

[ Upstream commit 4603fbaa76b5e703b38ac8cc718102834eb6e330 ]

Use add,l to avoid clobbering the C/B bits in the PSW.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v5.10+
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/parisc/include/asm/assembly.h