x86/entry: __always_inline debugreg for noinstr
authorPeter Zijlstra <peterz@infradead.org>
Wed, 3 Jun 2020 11:40:17 +0000 (13:40 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:26 +0000 (15:15 +0200)
commit28eaf87121abfb574fabfb08e21322b4dc377b10
tree0c0e7491eec2a9226f865b7e5619eadc20110a59
parent3e77abda65b1cec10ef6b18b1ccfee0beaf400f1
x86/entry: __always_inline debugreg for noinstr

vmlinux.o: warning: objtool: exc_debug()+0x21: call to native_get_debugreg() leaves .noinstr.text section

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200603114051.954401211@infradead.org
arch/x86/include/asm/debugreg.h