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

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
......@@ -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))
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment