OSDN Git Service

objtool,efi: Update __efi64_thunk annotation
authorPeter Zijlstra <peterz@infradead.org>
Tue, 8 Mar 2022 15:30:15 +0000 (16:30 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 15 Mar 2022 09:32:32 +0000 (10:32 +0100)
commit537da1ed54658e916141e50923a7f5b20c728856
tree50a5ef9611b7327d2cf2e04d3f2a35ab842030f7
parent1ffbe4e935f9b7308615c75be990aec07464d1e7
objtool,efi: Update __efi64_thunk annotation

The current annotation relies on not running objtool on the file; this
won't work when running objtool on vmlinux.o. Instead explicitly mark
__efi64_thunk() to be ignored.

This preserves the status quo, which is somewhat unfortunate. Luckily
this code is hardly ever used.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20220308154317.402118218@infradead.org
arch/x86/platform/efi/Makefile
arch/x86/platform/efi/efi_thunk_64.S