[PATCH] m32r: Fix smp.c for preempt kernel
authorHirokazu Takata <takata@linux-m32r.org>
Fri, 14 Oct 2005 22:59:07 +0000 (15:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 15 Oct 2005 00:10:12 +0000 (17:10 -0700)
commita90933fb4e7b85587e5cbdf863deeb16695c19bd
treeb27be41b3412d5ffdc90b3f7d76f2a2aa25662f5
parent6593b58cfb54138781c5cd88f605e2ae663301b0
[PATCH] m32r: Fix smp.c for preempt kernel

This patch fixes the following BUG message of arch/m32r/smp.c for
CONFIG_DEBUG_PREEMPT:

BUG: using smp_processor_id() in preemptible

This message is displayed by an smp_processor_id() execution during
kernel's preemptible-state.

Signed-off-by: Hitoshi Yamamoto <hitoshiy@isl.melco.co.jp>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m32r/kernel/smp.c