diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-06-02 21:28:57 +0300 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-06-19 11:35:54 +0300 |
commit | 3665f85e1c9a6a1133a9b0b173d8cd42874290f1 (patch) | |
tree | 5a16f6a7d302e62d70a707626ee07b7e6a583e8f /arch/arm/mm/nommu.c | |
parent | 57ea76fd1ca072b3024f55cb461628d982acf873 (diff) | |
download | linux-3665f85e1c9a6a1133a9b0b173d8cd42874290f1.tar.xz |
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>
Diffstat (limited to 'arch/arm/mm/nommu.c')
-rw-r--r-- | arch/arm/mm/nommu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index 53f2d8774fdb..43cfd06bbeba 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c @@ -21,6 +21,7 @@ #include <asm/cputype.h> #include <asm/mpu.h> #include <asm/procinfo.h> +#include <asm/idmap.h> #include "mm.h" |