aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r--arch/x86/include/asm/processor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index c71a12d960d4..5a51379dcbe4 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -376,6 +376,10 @@ union thread_xstate {
376 struct xsave_struct xsave; 376 struct xsave_struct xsave;
377}; 377};
378 378
379struct fpu {
380 union thread_xstate *state;
381};
382
379#ifdef CONFIG_X86_64 383#ifdef CONFIG_X86_64
380DECLARE_PER_CPU(struct orig_ist, orig_ist); 384DECLARE_PER_CPU(struct orig_ist, orig_ist);
381 385
@@ -453,7 +457,7 @@ struct thread_struct {
453 unsigned long trap_no; 457 unsigned long trap_no;
454 unsigned long error_code; 458 unsigned long error_code;
455 /* floating point and extended processor state */ 459 /* floating point and extended processor state */
456 union thread_xstate *xstate; 460 struct fpu fpu;
457#ifdef CONFIG_X86_32 461#ifdef CONFIG_X86_32
458 /* Virtual 86 mode info */ 462 /* Virtual 86 mode info */
459 struct vm86_struct __user *vm86_info; 463 struct vm86_struct __user *vm86_info;