aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/dump_task.c
AgeCommit message (Collapse)AuthorFilesLines
2008-03-26sh: Fix occasional FPU register corruption under preempt.Paul Mundt1-0/+1
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 <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2008-01-28sh: Share the ELF dump_task interfaces.Paul Mundt1-0/+31
Signed-off-by: Paul Mundt <[email protected]>