diff options
author | Ingo Molnar <mingo@elte.hu> | 2005-12-20 10:54:17 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-20 18:47:55 (GMT) |
commit | bb44f116a14c4c932f15c79acfafd46bcb43ca9a (patch) | |
tree | d8f5dc090cef75f22e7ca152298096bb2877b6b8 /arch/um/Kconfig.x86_64 | |
parent | 391eadeec836463a4e6e3843953bbe40f6522593 (diff) | |
download | linux-bb44f116a14c4c932f15c79acfafd46bcb43ca9a.tar.xz |
[PATCH] fix spinlock-debugging smp_processor_id() usage
When a spinlock debugging check hits, we print the CPU number as an
informational thing - but there is no guarantee that preemption is off
at that point - hence we should use raw_smp_processor_id(). Otherwise
DEBUG_PREEMPT will print a warning.
With this fix the warning goes away and only the spinlock-debugging info
is printed.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/Kconfig.x86_64')
0 files changed, 0 insertions, 0 deletions