diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-02-17 12:44:37 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-02-22 23:37:37 +0100 |
commit | 9f9223778ef385e79dc67f5ee48ee4c1fb757f6b (patch) | |
tree | 82aab113bd4467d603dc317435832205ac1e7c74 /mm/mlock.c | |
parent | e951a1f427f2312e17b4e0f485e60068ca1423bb (diff) | |
download | linux-9f9223778ef385e79dc67f5ee48ee4c1fb757f6b.tar.bz2 |
efi/libstub/arm: Make efi_entry() an ordinary PE/COFF entrypoint
Expose efi_entry() as the PE/COFF entrypoint directly, instead of
jumping into a wrapper that fiddles with stack buffers and other
stuff that the compiler is much better at. The only reason this
code exists is to obtain a pointer to the base of the image, but
we can get the same value from the loaded_image protocol, which
we already need for other reasons anyway.
Update the return type as well, to make it consistent with what
is required for a PE/COFF executable entrypoint.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'mm/mlock.c')
0 files changed, 0 insertions, 0 deletions