summaryrefslogtreecommitdiffstats
path: root/include/linux/efi.h
diff options
context:
space:
mode:
authorMatt Fleming <matt@codeblueprint.co.uk>2016-04-25 16:06:58 -0400
committerIngo Molnar <mingo@kernel.org>2016-04-28 05:34:03 -0400
commit806b0351c9ff9890c1ef0ba2c46237baef49ac79 (patch)
treeec1a82709839331cd57e66e25cde7ec09e357657 /include/linux/efi.h
parent06f7d4a1618dbb086e738c93cd1ef416ab01027d (diff)
efi: Move efi_status_to_err() to drivers/firmware/efi/
Move efi_status_to_err() to the architecture independent code as it's generally useful in all bits of EFI code where there is a need to convert an efi_status_t to a kernel error value. Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Kweh Hock Leong <hock.leong.kweh@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: joeyli <jlee@suse.com> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/1461614832-17633-27-git-send-email-matt@codeblueprint.co.uk Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r--include/linux/efi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h
index 4db7052b2699..ca47481885c4 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1080,6 +1080,8 @@ static inline void
1080efi_reboot(enum reboot_mode reboot_mode, const char *__unused) {} 1080efi_reboot(enum reboot_mode reboot_mode, const char *__unused) {}
1081#endif 1081#endif
1082 1082
1083extern int efi_status_to_err(efi_status_t status);
1084
1083/* 1085/*
1084 * Variable Attributes 1086 * Variable Attributes
1085 */ 1087 */