Skip to content

Commit aa6d1ed

Browse files
summaryInfoardbiesheuvel
authored andcommitted
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: 31f1a0e ("efi/x86: libstub: Make DXE calls mixed mode safe") Signed-off-by: Evgeniy Baskov <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent 34705a5 commit aa6d1ed

File tree

1 file changed

+1
-1
lines changed
  • arch/x86/include/asm

1 file changed

+1
-1
lines changed

arch/x86/include/asm/efi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ static inline u32 efi64_convert_status(efi_status_t status)
323323
#define __efi64_argmap_get_memory_space_descriptor(phys, desc) \
324324
(__efi64_split(phys), (desc))
325325

326-
#define __efi64_argmap_set_memory_space_descriptor(phys, size, flags) \
326+
#define __efi64_argmap_set_memory_space_attributes(phys, size, flags) \
327327
(__efi64_split(phys), __efi64_split(size), __efi64_split(flags))
328328

329329
/*

0 commit comments

Comments
 (0)