summaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorIngo Molnar2005-12-20 11:54:17 +0100
committerLinus Torvalds2005-12-20 19:47:55 +0100
commitbb44f116a14c4c932f15c79acfafd46bcb43ca9a (patch)
treed8f5dc090cef75f22e7ca152298096bb2877b6b8 /net/ipv6/route.c
parent[PATCH] Fix build with CONFIG_PCI_MMCONFIG (diff)
downloadkernel-qcow2-linux-bb44f116a14c4c932f15c79acfafd46bcb43ca9a.tar.gz
kernel-qcow2-linux-bb44f116a14c4c932f15c79acfafd46bcb43ca9a.tar.xz
kernel-qcow2-linux-bb44f116a14c4c932f15c79acfafd46bcb43ca9a.zip
[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 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions