diff options
author | Eli Cooper <elicooper@gmx.com> | 2016-03-20 00:58:40 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2016-05-21 23:37:40 +0200 |
commit | b6024b21fec8367ef961a771cc9dde31f1831965 (patch) | |
tree | 7cde8e93a769c29444d4327f7c4d3a9afe1b0ad7 /arch/x86/um/user-offsets.c | |
parent | 6de5a8a5001687df720b36729c799991cc0faff5 (diff) | |
download | linux-b6024b21fec8367ef961a771cc9dde31f1831965.tar.gz linux-b6024b21fec8367ef961a771cc9dde31f1831965.tar.bz2 linux-b6024b21fec8367ef961a771cc9dde31f1831965.zip |
um: extend fpstate to _xstate to support YMM registers
Extends fpstate to _xstate, in order to hold AVX/YMM registers.
To avoid oversized stack frame, the following functions have been
refactored by using malloc.
- sig_handler_common
- timer_real_alarm_handler
Signed-off-by: Eli Cooper <elicooper@gmx.com>
Diffstat (limited to 'arch/x86/um/user-offsets.c')
-rw-r--r-- | arch/x86/um/user-offsets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/user-offsets.c b/arch/x86/um/user-offsets.c index 470564bbd08e..cb3c22370cf5 100644 --- a/arch/x86/um/user-offsets.c +++ b/arch/x86/um/user-offsets.c @@ -50,7 +50,7 @@ void foo(void) DEFINE(HOST_GS, GS); DEFINE(HOST_ORIG_AX, ORIG_EAX); #else - DEFINE(HOST_FP_SIZE, sizeof(struct _fpstate) / sizeof(unsigned long)); + DEFINE(HOST_FP_SIZE, sizeof(struct _xstate) / sizeof(unsigned long)); DEFINE_LONGS(HOST_BX, RBX); DEFINE_LONGS(HOST_CX, RCX); DEFINE_LONGS(HOST_DI, RDI); |