Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181094
b: refs/heads/master
c: 4291b73
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Jan 18, 2010
1 parent 5b2362a commit 06d1885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3d467676abf5f01f5ee99056273a58486968e252
refs/heads/master: 4291b730cd0f0cf98a90d946b6cabbd804397350
2 changes: 2 additions & 0 deletions trunk/arch/sh/kernel/cpu/fpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ void fpu_state_restore(struct pt_regs *regs)
}

if (!tsk_used_math(tsk)) {
local_irq_enable();
/*
* does a slab alloc which can sleep
*/
Expand All @@ -66,6 +67,7 @@ void fpu_state_restore(struct pt_regs *regs)
do_group_exit(SIGKILL);
return;
}
local_irq_disable();
}

grab_fpu(regs);
Expand Down

0 comments on commit 06d1885

Please sign in to comment.