fix bogus hotplug cpu warning
authorHugh Dickins <hugh@veritas.com>
Mon, 27 Aug 2007 15:06:19 +0000 (16:06 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 27 Aug 2007 17:27:48 +0000 (10:27 -0700)
commitd243769d3f83b318813a04a9592bb7cfedc6c280
tree4f288332b6b20f414b452219b1ea5ff4cc41eaa5
parent721ebe005c3bb9add55b2e462dfc1bcf8efc6b8f
fix bogus hotplug cpu warning

Fix bogus DEBUG_PREEMPT warning on x86_64, when cpu brought online after
bootup: current_is_keventd is right to note its use of smp_processor_id
is preempt-safe, but should use raw_smp_processor_id to avoid the warning.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/workqueue.c