commit | fd3c3ed5d1e3ceb37635cbe6d220ab94aae0781d | [log] [tgz] |
---|---|---|
author | Suresh Siddha <suresh.b.siddha@intel.com> | Wed May 07 12:09:52 2008 -0700 |
committer | Thomas Gleixner <tglx@linutronix.de> | Sat May 10 19:31:45 2008 +0200 |
tree | 67cc2a950e670e5362173efd88ea6ded708b7e6c | |
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>