]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: fix compare race in sched related code
authorSebastian Siewior <bigeasy@linutronix.de>
Thu, 1 May 2008 02:17:49 +0000 (12:17 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2008 15:08:36 +0000 (08:08 -0700)
commita28faea1616f91773461dbf22fabce0a3e91489b
tree2735d367a526fd9136f22fc117d99ab53e3f7577
parent5cc5c509daed90a0fb2f0e76d3e347eced4fa1f9
m68knommu: fix compare race in sched related code

The interrupts must be disabled before considering the need resched
bit of the task struct and they have to be disabled before calling
schedule()

Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68knommu/platform/coldfire/entry.S