Skip to content
Commit 79ccd1be authored by Hugh Dickins's avatar Hugh Dickins Committed by Paul Mackerras
Browse files

[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: default avatarHugh Dickins <hugh@veritas.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent e760e716
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment