From: Ard Biesheuvel Date: Mon, 12 Jan 2015 20:28:20 +0000 (+0000) Subject: arm64/efi: efistub: Apply __init annotation X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~158^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddeeefe2dfbe1fa6b116b9362b1bec465b64c873;p=pandora-kernel.git 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 Signed-off-by: Matt Fleming --- Reading git-diff-tree failed