]> git.karo-electronics.de Git - linux-beck.git/commit
efi/arm64: Drop __init annotation from handle_kernel_image()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 17 Feb 2016 12:35:57 +0000 (12:35 +0000)
committerIngo Molnar <mingo@kernel.org>
Mon, 22 Feb 2016 07:26:26 +0000 (08:26 +0100)
commitdae31fd2b74c35cc84128733bc210bf6b26ae408
tree2e9ab9ce11ae8a48814e68d4a0097906fb9add12
parent397630150632639b3ca5b4414accd5011c45e276
efi/arm64: Drop __init annotation from handle_kernel_image()

After moving arm64-stub.c to libstub/, all of its sections are emitted
as .init.xxx sections automatically, and the __init annotation of
handle_kernel_image() causes it to end up in .init.init.text, which is
not recognized as an __init section by the linker scripts. So drop the
annotation.

Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/1455712566-16727-5-git-send-email-matt@codeblueprint.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/firmware/efi/libstub/arm64-stub.c