]> err.no Git - linux-2.6/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)
commit6c5a7d504fb0e27aa90b96267177d434642a393d
tree2735d367a526fd9136f22fc117d99ab53e3f7577
parent0042a1f7ecbc5d40eb2164f375ec87ecf3494418
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