x86/platform/uv: Skip UV runtime services mapping in the efi_runtime_disabled case
[deliverable/linux.git] / arch / x86 / platform / uv / bios_uv.c
index 66b2166ea4a1c715a0362ed99cbeb3692a031476..0df8a0370d328e9d8a31f266dd09336e65e9f013 100644 (file)
@@ -187,7 +187,8 @@ EXPORT_SYMBOL_GPL(uv_bios_set_legacy_vga_target);
 void uv_bios_init(void)
 {
        uv_systab = NULL;
-       if ((efi.uv_systab == EFI_INVALID_TABLE_ADDR) || !efi.uv_systab) {
+       if ((efi.uv_systab == EFI_INVALID_TABLE_ADDR) ||
+           !efi.uv_systab || efi_runtime_disabled()) {
                pr_crit("UV: UVsystab: missing\n");
                return;
        }
This page took 0.036884 seconds and 5 git commands to generate.