diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2008-05-07 12:09:52 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-10 19:31:45 +0200 |
commit | fd3c3ed5d1e3ceb37635cbe6d220ab94aae0781d (patch) | |
tree | 67cc2a950e670e5362173efd88ea6ded708b7e6c /arch/x86/kernel/setup_32.c | |
parent | 0646153921892cc7a81320a6920beaca06b3e9f0 (diff) |
x86: fix fpu restore from sig return
If the task never used fpu, initialize the fpu before restoring the FP
state from the signal handler context. This will allocate the fpu
state, if the task never needed it before.
Reported-and-bisected-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Tested-by: Eric Sesterhenn <snakebyte@gmx.de>
Cc: Frederik Deweerdt <deweerdt@free.fr>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/setup_32.c')
0 files changed, 0 insertions, 0 deletions