]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user/sparc: Use WREG_SP constant in sparc/signal.c
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 6 Nov 2019 11:33:12 +0000 (12:33 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 6 Nov 2019 12:38:42 +0000 (13:38 +0100)
commit8d9c72a2e2f21fb61e615478ea802799e3ef98f0
tree613ed1699d0111a79a685c19403107886cdfb562
parent80180eb2ca586aae1e8ac8e3b50ff3780dcd8839
linux-user/sparc: Use WREG_SP constant in sparc/signal.c

s/UREG_FP/WREG_SP/g

This is non-obvious because the UREG_FP constant is fact wrong.
However, the previous search-and-replace patch made it clear that
UREG_FP expands to WREG_O6, and we can see from the enumeration in
target/sparc/cpu.h that WREG_O6 is in fact WREG_SP, the stack pointer.

The UREG_SP define is unused; remove it.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20191106113318.10226-7-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/sparc/signal.c