Skip to content

Commit cc383a9

Browse files
committed
efi: mokvar: add missing include of asm/early_ioremap.h
Nathan reports that building the new mokvar table code for 32-bit ARM fails with errors such as error: implicit declaration of function 'early_memunmap' error: implicit declaration of function 'early_memremap' This is caused by the lack of an explicit #include of the appropriate header, and ARM apparently does not inherit that inclusion via another header file. So add the #include. Tested-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
1 parent 963fabf commit cc383a9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/firmware/efi/mokvar-table.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
#include <linux/list.h>
4141
#include <linux/slab.h>
4242

43+
#include <asm/early_ioremap.h>
44+
4345
/*
4446
* The LINUX_EFI_MOK_VARIABLE_TABLE_GUID config table is a packed
4547
* sequence of struct efi_mokvar_table_entry, one for each named

0 commit comments

Comments
 (0)