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)
commite18f3ffb9c3ddfc1b4ad8f38f5f2acae8c16f0c9
tree6a1ccc7a10ccc25dd9b7e09fefa3db96e211e1ee
parenta1e3cf418fc1e6b13bdc472ffb60bd02735e41a6
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