]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc/unaligned: Rewrite 64-bit inline assembly of emulate_ldd()
authorGuenter Roeck <linux@roeck-us.net>
Fri, 16 Feb 2024 13:26:55 +0000 (14:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:11:12 +0000 (15:11 +0200)
commit567a78d119e7df191d0ded8239ce5233aacde1ac
tree00740ced3b8df4df773c5e459d615d35edc594ae
parentf6fdf2f066fa0a04f0954792f7320fb8d66b56e2
parisc/unaligned: Rewrite 64-bit inline assembly of emulate_ldd()

[ Upstream commit e5db6a74571a8baf87a116ea39aab946283362ff ]

Convert to use real temp variables instead of clobbering processor
registers. This aligns the 64-bit inline assembly code with the 32-bit
assembly code which was rewritten with commit 427c1073a2a1
("parisc/unaligned: Rewrite 32-bit inline assembly of emulate_ldd()").

While at it, fix comment in 32-bit rewrite code. Temporary variables are
now used for both 32-bit and 64-bit code, so move their declarations
to the function header.

No functional change intended.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org # v6.0+
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/parisc/kernel/unaligned.c