commit | 6de5a8a5001687df720b36729c799991cc0faff5 | [log] [tgz] |
---|---|---|
author | Eli Cooper <elicooper@gmx.com> | Sun Mar 20 00:58:39 2016 +0800 |
committer | Richard Weinberger <richard@nod.at> | Sat May 21 23:37:16 2016 +0200 |
tree | 542d6b18724e71912a73c5bdc9f220404506e6e4 | |
parent | 44549e8f5eea4e0a41b487b63e616cb089922b99 [diff] |
um: fix FPU state preservation around signal handlers This patch makes UML saves/restores FPU state from/to the fpstate in pt_regs when setting up or returning from a signal stack, rather than calling ptrace directly. This ensures that FPU state is correctly preserved around signal handlers in a multi-threaded scenario. Signed-off-by: Eli Cooper <elicooper@gmx.com>