summaryrefslogtreecommitdiff
path: root/arch/x86/um/user-offsets.c
diff options
context:
space:
mode:
authorEli Cooper <elicooper@gmx.com>2016-03-20 00:58:40 +0800
committerRichard Weinberger <richard@nod.at>2016-05-21 23:37:40 +0200
commitb6024b21fec8367ef961a771cc9dde31f1831965 (patch)
tree7cde8e93a769c29444d4327f7c4d3a9afe1b0ad7 /arch/x86/um/user-offsets.c
parent6de5a8a5001687df720b36729c799991cc0faff5 (diff)
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.c2
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);