Searched hist:ddeeefe2dfbe1fa6b116b9362b1bec465b64c873 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | efi-stub-helper.c | diff ddeeefe2dfbe1fa6b116b9362b1bec465b64c873 Mon Jan 12 14:28:20 CST 2015 Ard Biesheuvel <ard.biesheuvel@linaro.org> 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>
|
H A D | Makefile | diff ddeeefe2dfbe1fa6b116b9362b1bec465b64c873 Mon Jan 12 14:28:20 CST 2015 Ard Biesheuvel <ard.biesheuvel@linaro.org> 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>
|