x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 3 Jun 2020 11:32:48 +0000 (13:32 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 15 Jun 2020 12:10:09 +0000 (14:10 +0200)
commit14d3b376b6c3f66d62559d457d32edf565472163
tree0978931489a631b4fbf43cacad276d66642f113c
parent5144f8a8dfd7b3681f0a2b5bf599a210b2315018
x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline()

vmlinux.o: warning: objtool: exc_nmi()+0x12: call to cpumask_test_cpu.constprop.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: mce_check_crashing_cpu()+0x12: call to cpumask_test_cpu.constprop.0()leaves .noinstr.text section

  cpumask_test_cpu()
    test_bit()
      instrument_atomic_read()
      arch_test_bit()

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
arch/x86/include/asm/cpumask.h
arch/x86/kernel/cpu/mce/core.c
arch/x86/kernel/nmi.c