[PULL 11/59] linux-user: Pass CPUArchState to target_restore_altstack

2021-05-17 Thread Laurent Vivier
From: 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. Reviewed by: War

[PULL 11/59] linux-user: Pass CPUArchState to target_restore_altstack

2021-05-17 Thread Laurent Vivier
From: 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. Reviewed by: War