diff options
| author | Kees Cook <kees@kernel.org> | 2026-10-06 13:42:21 -0700 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-10-15 13:52:56 +0200 |
| commit | d4d11273292442860751713cb061c5691dd52ae3 (patch) | |
| tree | 6c00e94952dbf77b7aa43ddd3122e2b18ad3e8af /scripts/Makefile.thinlto | |
| parent | 4c86b5f3fa78347fa9cbc9e8ec06615b2f80e397 (diff) | |
| download | linux-d4d11273292442860751713cb061c5691dd52ae3.tar.gz linux-d4d11273292442860751713cb061c5691dd52ae3.zip | |
efi/libstub: Declare the x86 stub's assembly entry points
efi_stub_entry() and efi_handover_entry() are entered from efi-mixed.S
and, through the efi32_stub_entry() and efi64_stub_entry() aliases, by
boot loaders using the EFI handover protocol, but have no prototypes.
Declare them in x86-stub.h, as asmlinkage, so that the stub can be built
with the kernel's -Wmissing-prototypes.
Signed-off-by: Kees Cook <kees@kernel.org>
[ardb: fix i386 GCC build by scoping to CONFIG_EFI_MIXED=y]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
