]> git.baikalelectronics.ru Git - kernel.git/commit
schedule_on_each_cpu(): use preempt_disable()
authorAndrew Morton <akpm@osdl.org>
Wed, 9 May 2007 09:33:50 +0000 (02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:50 +0000 (12:30 -0700)
commitc654f7e17919845e3802d696802d53ae80eabbc8
tree6a1ccc7a10ccc25dd9b7e09fefa3db96e211e1ee
parentfcb17f3034bfa51fb017fbc49ebd7d3732a23f52
schedule_on_each_cpu(): use preempt_disable()

We take workqueue_mutex in there to keep CPU hotplug away.  But
preempt_disable() will suffice for that.

Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/workqueue.c