diff options
-rw-r--r-- | arch/x86/kernel/efi_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/efi_64.c b/arch/x86/kernel/efi_64.c index 269de2e049a3..1f8bbd9644d7 100644 --- a/arch/x86/kernel/efi_64.c +++ b/arch/x86/kernel/efi_64.c | |||
@@ -85,7 +85,7 @@ void __init efi_call_phys_prelog(void) | |||
85 | local_irq_save(efi_flags); | 85 | local_irq_save(efi_flags); |
86 | early_runtime_code_mapping_set_exec(1); | 86 | early_runtime_code_mapping_set_exec(1); |
87 | vaddress = (unsigned long)__va(0x0UL); | 87 | vaddress = (unsigned long)__va(0x0UL); |
88 | pgd_val(save_pgd) = pgd_val(*pgd_offset_k(0x0UL)); | 88 | save_pgd = *pgd_offset_k(0x0UL); |
89 | set_pgd(pgd_offset_k(0x0UL), *pgd_offset_k(vaddress)); | 89 | set_pgd(pgd_offset_k(0x0UL), *pgd_offset_k(vaddress)); |
90 | __flush_tlb_all(); | 90 | __flush_tlb_all(); |
91 | } | 91 | } |