]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c2a10c9166855060d6da6bb71349137c8b9d5ef
tree0978931489a631b4fbf43cacad276d66642f113c
parent5ab4df7130af945fb4e052e818ca6c6403dcc97b
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