Commit aa6d1ed1 authored by Evgeniy Baskov's avatar Evgeniy Baskov Committed by Ard Biesheuvel
Browse files

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: 31f1a0ed ("efi/x86: libstub: Make DXE calls mixed mode safe")
Signed-off-by: default avatarEvgeniy Baskov <baskov@ispras.ru>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 34705a57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))

/*