Merge branch 'linus' into perfcounters/core
Conflicts: arch/x86/kernel/irqinit.c arch/x86/kernel/irqinit_64.c arch/x86/kernel/traps.c arch/x86/mm/fault.c include/linux/sched.h kernel/exit.c
This commit is contained in:
@@ -839,9 +839,6 @@ asmlinkage void math_state_restore(void)
|
||||
}
|
||||
|
||||
clts(); /* Allow maths ops (or we recurse) */
|
||||
#ifdef CONFIG_X86_32
|
||||
restore_fpu(tsk);
|
||||
#else
|
||||
/*
|
||||
* Paranoid restore. send a SIGSEGV if we fail to restore the state.
|
||||
*/
|
||||
@@ -850,7 +847,7 @@ asmlinkage void math_state_restore(void)
|
||||
force_sig(SIGSEGV, tsk);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
thread->status |= TS_USEDFPU; /* So we fnsave on switch_to() */
|
||||
tsk->fpu_counter++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user