aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2017-05-28 09:03:42 +0000
committerIngo Molnar <[email protected]>2017-05-29 06:22:49 +0000
commit5d9070b1f0fc9a159a9a3240c43004828408444b (patch)
treec5ef5f8614a668237de842feff6734a67686db21 /net/unix/af_unix.c
parentx86/microcode/AMD: Change load_microcode_amd()'s param to bool to fix preempt... (diff)
downloadkernel-5d9070b1f0fc9a159a9a3240c43004828408444b.tar.gz
kernel-5d9070b1f0fc9a159a9a3240c43004828408444b.zip
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 <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions