Re: [Qemu-devel] [PATCH 1/2] linux-user: correctly manage SR in ucontext

2017-02-27 Thread Richard Henderson
On 02/25/2017 10:05 PM, Laurent Vivier wrote: Use cpu_m68k_get_ccr()/cpu_m68k_set_ccr() to setup and restore correctly the value of SR in the ucontext structure Signed-off-by: Laurent Vivier --- linux-user/signal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Reviewed-by: Richa

[Qemu-devel] [PATCH 1/2] linux-user: correctly manage SR in ucontext

2017-02-25 Thread Laurent Vivier
Use cpu_m68k_get_ccr()/cpu_m68k_set_ccr() to setup and restore correctly the value of SR in the ucontext structure Signed-off-by: Laurent Vivier --- linux-user/signal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index 5064de