summaryrefslogtreecommitdiffstats
path: root/include/linux/efi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r--include/linux/efi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h
index 8269bcb8ccf7..8e24f099bd3f 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1091,6 +1091,8 @@ static inline bool efi_enabled(int feature)
1091 return test_bit(feature, &efi.flags) != 0; 1091 return test_bit(feature, &efi.flags) != 0;
1092} 1092}
1093extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused); 1093extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused);
1094
1095extern bool efi_is_table_address(unsigned long phys_addr);
1094#else 1096#else
1095static inline bool efi_enabled(int feature) 1097static inline bool efi_enabled(int feature)
1096{ 1098{
@@ -1104,6 +1106,11 @@ efi_capsule_pending(int *reset_type)
1104{ 1106{
1105 return false; 1107 return false;
1106} 1108}
1109
1110static inline bool efi_is_table_address(unsigned long phys_addr)
1111{
1112 return false;
1113}
1107#endif 1114#endif
1108 1115
1109extern int efi_status_to_err(efi_status_t status); 1116extern int efi_status_to_err(efi_status_t status);