]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe0571ba59e49cee6b8c3da00cbae0c8ddcbe3d6
tree4f288332b6b20f414b452219b1ea5ff4cc41eaa5
parent14db4f91228bfbdb08554d6f44b9d7d31c2ae9f1
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