|
@@ -1167,6 +1167,8 @@ static inline bool efi_enabled(int feature)
|
|
extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused);
|
|
extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused);
|
|
|
|
|
|
extern bool efi_is_table_address(unsigned long phys_addr);
|
|
extern bool efi_is_table_address(unsigned long phys_addr);
|
|
|
|
+
|
|
|
|
+extern int efi_apply_persistent_mem_reservations(void);
|
|
#else
|
|
#else
|
|
static inline bool efi_enabled(int feature)
|
|
static inline bool efi_enabled(int feature)
|
|
{
|
|
{
|
|
@@ -1185,6 +1187,11 @@ static inline bool efi_is_table_address(unsigned long phys_addr)
|
|
{
|
|
{
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+static inline int efi_apply_persistent_mem_reservations(void)
|
|
|
|
+{
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
extern int efi_status_to_err(efi_status_t status);
|
|
extern int efi_status_to_err(efi_status_t status);
|