]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xen: Fix noinstr fail in exc_xen_unknown_trap()
authorPeter Zijlstra <peterz@infradead.org>
Mon, 21 Jun 2021 11:12:36 +0000 (13:12 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 22 Jun 2021 11:56:42 +0000 (13:56 +0200)
commit678181872c12983c02d7622039f2254ca2a18035
tree91bdb7426a226e2e160b218710b1e54b75c6d1fe
parent7e4fe67c6e15a24e6c41ec8d495b65730c64a73f
x86/xen: Fix noinstr fail in exc_xen_unknown_trap()

Fix:

  vmlinux.o: warning: objtool: exc_xen_unknown_trap()+0x7: call to printk() leaves .noinstr.text section

Fixes: 4e5755c95403 ("x86/xen: avoid warning in Xen pv guest with CONFIG_AMD_MEM_ENCRYPT enabled")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210621120120.606560778@infradead.org
arch/x86/xen/enlighten_pv.c