linux/arch/x86/platform/efi
Mathias Krause 4e78eb0561 x86/efi: Mark initialization code as such
The 32 bit and 64 bit implementations differ in their __init annotations
for some functions referenced from the common EFI code. Namely, the 32
bit variant is missing some of the __init annotations the 64 bit variant
has.

To solve the colliding annotations, mark the corresponding functions in
efi_32.c as initialization code, too -- as it is such.

Actually, quite a few more functions are only used during initialization
and therefore can be marked __init. They are therefore annotated, too.
Also add the __init annotation to the prototypes in the efi.h header so
users of those functions will see it's meant as initialization code
only.

This patch also fixes the "prelog" typo. ("prologue" / "epilogue" might
be more appropriate but this is C code after all, not an opera! :D)

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
2014-10-03 18:41:03 +01:00
..
early_printk.c x86/efi: earlyprintk=efi,keep fix 2014-05-03 06:39:06 +01:00
efi_32.c x86/efi: Mark initialization code as such 2014-10-03 18:41:03 +01:00
efi_64.c x86/efi: Mark initialization code as such 2014-10-03 18:41:03 +01:00
efi_stub_32.S x86/efi: Mark initialization code as such 2014-10-03 18:41:03 +01:00
efi_stub_64.S x86/efi: Delete most of the efi_call* macros 2014-04-17 13:26:30 +01:00
efi_thunk_64.S x86/efi: Add mixed runtime services support 2014-03-04 21:43:14 +00:00
efi-bgrt.c efi-bgrt: Add error handling; inform the user when ignoring the BGRT 2014-10-03 18:40:58 +01:00
efi.c x86/efi: Mark initialization code as such 2014-10-03 18:41:03 +01:00
Makefile x86/efi: Move all workarounds to a separate file quirks.c 2014-06-19 11:14:33 +01:00
quirks.c x86/reboot: Add EFI reboot quirk for ACPI Hardware Reduced flag 2014-07-18 21:23:52 +01:00