]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/include/asm/efi.h
x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3()
[mirror_ubuntu-artful-kernel.git] / arch / x86 / include / asm / efi.h
index 2f77bcefe6b494cf7dcd5f7158cfe3090893c584..d2ff779f347e5339d9dedf5261f7befac092f671 100644 (file)
@@ -74,7 +74,7 @@ struct efi_scratch {
        __kernel_fpu_begin();                                           \
                                                                        \
        if (efi_scratch.use_pgd) {                                      \
-               efi_scratch.prev_cr3 = read_cr3();                      \
+               efi_scratch.prev_cr3 = __read_cr3();                    \
                write_cr3((unsigned long)efi_scratch.efi_pgt);          \
                __flush_tlb_all();                                      \
        }                                                               \