diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-01-12 21:28:20 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2015-01-15 22:28:35 +0100 |
commit | ddeeefe2dfbe1fa6b116b9362b1bec465b64c873 (patch) | |
tree | a79ebafc3c5ac24fabb034b60915fe46d57d3082 /README | |
parent | efi: Expose underlying UEFI firmware platform size to userland (diff) | |
download | linux-ddeeefe2dfbe1fa6b116b9362b1bec465b64c873.tar.xz linux-ddeeefe2dfbe1fa6b116b9362b1bec465b64c873.zip |
arm64/efi: efistub: Apply __init annotation
This ensures all stub component are freed when the kernel proper is
done booting, by prefixing the names of all ELF sections that have
the SHF_ALLOC attribute with ".init". This approach ensures that even
implicitly emitted allocated data (like initializer values and string
literals) are covered.
At the same time, remove some __init annotations in the stub that have
now become redundant, and add the __init annotation to handle_kernel_image
which will now trigger a section mismatch warning without it.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions