summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/efi.h
diff options
context:
space:
mode:
authorEvgeniy Baskov <baskov@ispras.ru>2022-06-09 14:37:30 +0300
committerArd Biesheuvel <ardb@kernel.org>2022-06-21 19:11:46 +0300
commitaa6d1ed107eba26f49933216cffe797253914132 (patch)
treedf4ece9cb4513a87aff7e1b6c8e012c998146715 /arch/x86/include/asm/efi.h
parent34705a57e7df97d161324263c103c4d4d120dfe7 (diff)
downloadlinux-aa6d1ed107eba26f49933216cffe797253914132.tar.xz
efi/x86: libstub: Fix typo in __efi64_argmap* name
The actual name of the DXE services function used is set_memory_space_attributes(), not set_memory_space_descriptor(). Change EFI mixed mode helper macro name to match the function name. Fixes: 31f1a0edff78 ("efi/x86: libstub: Make DXE calls mixed mode safe") Signed-off-by: Evgeniy Baskov <baskov@ispras.ru> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/efi.h')
-rw-r--r--arch/x86/include/asm/efi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h
index 71943dce691e..9636742a80f2 100644
--- a/arch/x86/include/asm/efi.h
+++ b/arch/x86/include/asm/efi.h
@@ -323,7 +323,7 @@ static inline u32 efi64_convert_status(efi_status_t status)
#define __efi64_argmap_get_memory_space_descriptor(phys, desc) \
(__efi64_split(phys), (desc))
-#define __efi64_argmap_set_memory_space_descriptor(phys, size, flags) \
+#define __efi64_argmap_set_memory_space_attributes(phys, size, flags) \
(__efi64_split(phys), __efi64_split(size), __efi64_split(flags))
/*