Re: [PATCH 4/8] linux-user: Pass CPUArchState to target_restore_altstack

2021-04-25 Thread Warner Losh
On Sun, Apr 25, 2021 at 10:08 AM Richard Henderson < richard.hender...@linaro.org> wrote: > In most cases we were already passing get_sp_from_cpustate > directly to the function. In other cases, we were passing > a local variable which already contained the same value. > In the rest of the cases,

[PATCH 4/8] linux-user: Pass CPUArchState to target_restore_altstack

2021-04-25 Thread Richard Henderson
In most cases we were already passing get_sp_from_cpustate directly to the function. In other cases, we were passing a local variable which already contained the same value. In the rest of the cases, we were passing the stack pointer out of env directly. Signed-off-by: Richard Henderson --- lin