Paul Mundt
9bbafce2ee
sh: Fix occasional FPU register corruption under preempt.
...
Presently with preempt enabled there's the possibility to be preempted
after the TIF_USEDFPU test and the register save, leading to bogus
state post-__switch_to(). Use an explicit preempt_disable()/enable()
pair around unlazy_fpu()/clear_fpu() to avoid this. Follows the x86
change.
Reported-by: Takuo Koguchi <takuo.koguchi.sw@hitachi.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-03-26 19:02:47 +09:00
..
2008-03-26 19:02:47 +09:00
2008-03-06 11:18:22 +09:00
2007-11-02 12:29:37 +09:00
2005-04-16 15:20:36 -07:00
2007-06-08 02:43:40 +00:00
2007-10-13 09:49:04 -07:00
2007-05-07 02:11:56 +00:00
2007-02-13 10:54:43 +09:00
2008-03-26 19:02:47 +09:00
2008-01-28 13:19:02 +09:00
2008-01-28 13:18:58 +09:00
2008-01-28 13:18:57 +09:00
2008-01-28 13:18:58 +09:00
2008-01-28 13:18:48 +09:00
2008-02-14 14:22:09 +09:00
2008-03-06 12:43:38 +09:00
2008-02-14 14:22:09 +09:00
2008-02-14 14:22:12 +09:00
2005-04-16 15:20:36 -07:00
2007-11-07 11:13:55 +09:00
2007-10-19 11:53:51 -07:00
2007-08-07 19:13:23 +09:00
2008-01-28 13:18:41 +09:00
2008-02-14 14:22:09 +09:00
2008-02-14 14:22:09 +09:00
2008-01-28 13:18:49 +09:00
2006-09-27 16:20:22 +09:00
2008-03-26 19:02:47 +09:00
2008-02-14 14:22:11 +09:00
2008-02-14 14:22:09 +09:00
2008-01-28 13:18:58 +09:00
2006-12-06 10:45:39 +09:00
2006-09-27 11:31:32 +09:00
2008-02-14 14:22:10 +09:00
2007-07-20 16:59:49 +09:00
2008-03-06 11:16:40 +09:00
2008-03-06 11:16:40 +09:00
2008-03-26 19:02:47 +09:00
2008-01-28 13:18:58 +09:00
2008-03-21 12:19:07 +09:00
2007-05-09 18:55:14 +09:00
2008-01-28 13:18:49 +09:00
2008-01-28 13:18:49 +09:00
2008-01-28 13:18:49 +09:00
2008-02-14 14:22:08 +09:00
2008-02-14 14:22:08 +09:00
2008-02-14 14:22:08 +09:00
2008-02-14 14:22:08 +09:00
2008-03-06 11:18:22 +09:00
2008-02-14 14:22:09 +09:00
2008-03-06 11:18:22 +09:00
2008-01-28 13:18:57 +09:00
2008-01-28 23:21:17 +01:00
2008-02-14 14:22:12 +09:00
2008-01-28 13:18:45 +09:00