diff options
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 845174e113ce..100ce4a4aff6 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
@@ -1167,6 +1167,8 @@ static inline bool efi_enabled(int feature) | |||
1167 | extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused); | 1167 | extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused); |
1168 | 1168 | ||
1169 | extern bool efi_is_table_address(unsigned long phys_addr); | 1169 | extern bool efi_is_table_address(unsigned long phys_addr); |
1170 | |||
1171 | extern int efi_apply_persistent_mem_reservations(void); | ||
1170 | #else | 1172 | #else |
1171 | static inline bool efi_enabled(int feature) | 1173 | static inline bool efi_enabled(int feature) |
1172 | { | 1174 | { |
@@ -1185,6 +1187,11 @@ static inline bool efi_is_table_address(unsigned long phys_addr) | |||
1185 | { | 1187 | { |
1186 | return false; | 1188 | return false; |
1187 | } | 1189 | } |
1190 | |||
1191 | static inline int efi_apply_persistent_mem_reservations(void) | ||
1192 | { | ||
1193 | return 0; | ||
1194 | } | ||
1188 | #endif | 1195 | #endif |
1189 | 1196 | ||
1190 | extern int efi_status_to_err(efi_status_t status); | 1197 | extern int efi_status_to_err(efi_status_t status); |