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)
committerHelge Deller <deller@gmx.de>
Tue, 27 Feb 2024 21:51:44 +0000 (22:51 +0100)
commite5db6a74571a8baf87a116ea39aab946283362ff
tree736b80c122ea6eb7a3858deab4ae438c7e5425b4
parent0b9ec151b9b45fee749d32d744d50e1b721d79b2
parisc/unaligned: Rewrite 64-bit inline assembly of emulate_ldd()

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>
arch/parisc/kernel/unaligned.c