aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorGravatar Josh Poimboeuf <jpoimboe@redhat.com> 2019-07-17 20:36:41 -0500
committerGravatar Thomas Gleixner <tglx@linutronix.de> 2019-07-18 21:01:04 +0200
commit61a73f5cd1a5794626d216cc56e20a1b195c5d0c (patch)
tree13f5a3feb0a9e6bb5b9a1b8e1563597f47d600bf /arch/x86/lib
parentx86/entry: Fix thunk function ELF sizes (diff)
downloadlinux-61a73f5cd1a5794626d216cc56e20a1b195c5d0c.tar.gz
linux-61a73f5cd1a5794626d216cc56e20a1b195c5d0c.tar.bz2
linux-61a73f5cd1a5794626d216cc56e20a1b195c5d0c.zip
x86/head/64: Annotate start_cpu0() as non-callable
After an objtool improvement, it complains about the fact that start_cpu0() jumps to code which has an LRET instruction. arch/x86/kernel/head_64.o: warning: objtool: .head.text+0xe4: unsupported instruction in callable function Technically, start_cpu0() is callable, but it acts nothing like a callable function. Prevent objtool from treating it like one by removing its ELF function annotation. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/6b1b4505fcb90571a55fa1b52d71fb458ca24454.1563413318.git.jpoimboe@redhat.com
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions