diff options
author | Borislav Petkov <bp@suse.de> | 2017-05-28 11:03:42 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-05-29 08:22:49 +0200 |
commit | 5d9070b1f0fc9a159a9a3240c43004828408444b (patch) | |
tree | c5ef5f8614a668237de842feff6734a67686db21 /arch/parisc/lib | |
parent | dac6ca243c4c49a9ca7507d3d66140ebfac8b04b (diff) |
x86/debug/32: Convert a smp_processor_id() call to raw to avoid DEBUG_PREEMPT warning
... to raw_smp_processor_id() to not trip the
BUG: using smp_processor_id() in preemptible [00000000] code: swapper/0/1
check. The reasoning behind it is that __warn() already uses the raw_
variants but the show_regs() path on 32-bit doesn't.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170528092212.fiod7kygpjm23m3o@pd.tnic
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/parisc/lib')
0 files changed, 0 insertions, 0 deletions