efi.h (0337966d121ebebf73a1c346123e8112796e684e) | efi.h (6c690ee1039b251e583fc65b28da30e97d6a7385) |
---|---|
1#ifndef _ASM_X86_EFI_H 2#define _ASM_X86_EFI_H 3 4#include <asm/fpu/api.h> 5#include <asm/pgtable.h> 6#include <asm/processor-flags.h> 7#include <asm/tlb.h> 8 --- 60 unchanged lines hidden (view full) --- 69 70#define arch_efi_call_virt_setup() \ 71({ \ 72 efi_sync_low_kernel_mappings(); \ 73 preempt_disable(); \ 74 __kernel_fpu_begin(); \ 75 \ 76 if (efi_scratch.use_pgd) { \ | 1#ifndef _ASM_X86_EFI_H 2#define _ASM_X86_EFI_H 3 4#include <asm/fpu/api.h> 5#include <asm/pgtable.h> 6#include <asm/processor-flags.h> 7#include <asm/tlb.h> 8 --- 60 unchanged lines hidden (view full) --- 69 70#define arch_efi_call_virt_setup() \ 71({ \ 72 efi_sync_low_kernel_mappings(); \ 73 preempt_disable(); \ 74 __kernel_fpu_begin(); \ 75 \ 76 if (efi_scratch.use_pgd) { \ |
77 efi_scratch.prev_cr3 = read_cr3(); \ | 77 efi_scratch.prev_cr3 = __read_cr3(); \ |
78 write_cr3((unsigned long)efi_scratch.efi_pgt); \ 79 __flush_tlb_all(); \ 80 } \ 81}) 82 83#define arch_efi_call_virt(p, f, args...) \ 84 efi_call((void *)p->f, args) \ 85 --- 159 unchanged lines hidden --- | 78 write_cr3((unsigned long)efi_scratch.efi_pgt); \ 79 __flush_tlb_all(); \ 80 } \ 81}) 82 83#define arch_efi_call_virt(p, f, args...) \ 84 efi_call((void *)p->f, args) \ 85 --- 159 unchanged lines hidden --- |