commit | 4291b730cd0f0cf98a90d946b6cabbd804397350 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Mon Jan 18 20:39:49 2010 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Jan 18 20:39:49 2010 +0900 |
tree | ffee832e1cef4c510275cb4b3a08df9bb5dcb6e1 | |
parent | 3d467676abf5f01f5ee99056273a58486968e252 [diff] |
sh: Need IRQs enabled for init_fpu(). This tosses in a local_irq_enable()/disable() pair around the init_fpu() callsite in the FPU state restore exception handler. Fixes up a slab BUG triggered by making a slab cache allocation that can sleep whilst irqs_disabled(). This follows the behaviour undertaken by the x86 implementation. Signed-off-by: Paul Mundt <lethal@linux-sh.org>