Skip to content

Commit 3665f85

Browse files
arndbRussell King (Oracle)
authored andcommitted
ARM: 9307/1: nommu: include asm/idmap.h
setup_mm_for_reboot() is declared in asm/idmap.h but that is not included for the definition, causing a W=1 warning: arch/arm/mm/nommu.c:178:6: error: no previous prototype for 'setup_mm_for_reboot' [-Werror=missing-prototypes] Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
1 parent 57ea76f commit 3665f85

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm/mm/nommu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <asm/cputype.h>
2222
#include <asm/mpu.h>
2323
#include <asm/procinfo.h>
24+
#include <asm/idmap.h>
2425

2526
#include "mm.h"
2627

0 commit comments

Comments
 (0)