]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix DEBUG_PREEMPT warning when warning
authorHugh Dickins <hugh@veritas.com>
Fri, 8 Feb 2008 18:25:13 +0000 (05:25 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Feb 2008 11:11:00 +0000 (22:11 +1100)
commit79ccd1bedc0592602183dad5e3d51d0ab7a9add0
tree0645ae9ab31cee36b666de772259080c4639ce95
parente760e716d47b48caf98da348368fd41b4a9b9e7e
[POWERPC] Fix DEBUG_PREEMPT warning when warning

The powerpc show_regs prints CPU using smp_processor_id: change that to
raw_smp_processor_id, so that when it's showing a WARN_ON backtrace without
preemption disabled, DEBUG_PREEMPT doesn't mess up that warning with its own.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/process.c