summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/flush.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-06-02 19:28:45 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-06-19 09:35:53 +0100
commit34bde7f271c4b885d0fdaf49509fcea711ac0bd9 (patch)
treef2f79ee61d28b782dd55781b3efeb592bc2a1c42 /arch/arm/mm/flush.c
parentae1f8d793a19a63263d6a30a311a2db4e86d8785 (diff)
downloadlinux-stable-34bde7f271c4b885d0fdaf49509fcea711ac0bd9.tar.gz
linux-stable-34bde7f271c4b885d0fdaf49509fcea711ac0bd9.tar.bz2
linux-stable-34bde7f271c4b885d0fdaf49509fcea711ac0bd9.zip
ARM: 9305/1: add clear/copy_user_highpage declarations
The CPU specific helpers have to be global functions when building a kernel for just one CPU, but are called through indirect function pointers in a multi-CPU kernel. This config currently lacks the declarations for the individual helpers, e.g.: arch/arm/mm/copypage-v4wb.c:47:6: error: no previous prototype for 'v4wb_copy_user_highpage' [-Werror=missing-prototypes] arch/arm/mm/copypage-v4wb.c:65:6: error: no previous prototype for 'v4wb_clear_user_highpage' [-Werror=missing-prototypes] Add the complete set of prototypes in asm/page.h to allow building iwth -Wmissing-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/flush.c')
0 files changed, 0 insertions, 0 deletions