|
@@ -471,12 +471,12 @@ static int __init reboot_init(void)
|
|
|
|
|
|
/*
|
|
|
* The DMI quirks table takes precedence. If no quirks entry
|
|
|
- * matches and the ACPI Hardware Reduced bit is set, force EFI
|
|
|
- * reboot.
|
|
|
+ * matches and the ACPI Hardware Reduced bit is set and EFI
|
|
|
+ * runtime services are enabled, force EFI reboot.
|
|
|
*/
|
|
|
rv = dmi_check_system(reboot_dmi_table);
|
|
|
|
|
|
- if (!rv && efi_reboot_required())
|
|
|
+ if (!rv && efi_reboot_required() && !efi_runtime_disabled())
|
|
|
reboot_type = BOOT_EFI;
|
|
|
|
|
|
return 0;
|