From: Ingo Molnar Date: Tue, 20 Dec 2005 10:54:17 +0000 (+0100) Subject: [PATCH] fix spinlock-debugging smp_processor_id() usage X-Git-Tag: v2.6.15-rc7~16^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb44f116a14c4c932f15c79acfafd46bcb43ca9a;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed