linux/arch/sh/kernel/cpu
Geert Uytterhoeven fcd9a89248 sh: cache: Move forward declarations to <asm/cacheflush.h>
arch/sh/kernel/cpu/init.c:99:29: warning: no previous prototype for 'l2_cache_init' [-Wmissing-prototypes]
arch/sh/kernel/cpu/sh4a/setup-sh7723.c:422:6: warning: no previous prototype for 'l2_cache_init' [-Wmissing-prototypes]
arch/sh/kernel/cpu/sh4a/setup-sh7724.c:842:6: warning: no previous prototype for 'l2_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-j2.c:48:13: warning: no previous prototype for 'j2_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-sh2.c:85:13: warning: no previous prototype for 'sh2_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-sh2a.c:181:13: warning: no previous prototype for 'sh2a_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-sh3.c:90:13: warning: no previous prototype for 'sh3_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-sh4.c:384:13: warning: no previous prototype for 'sh4_cache_init' [-Wmissing-prototypes]
arch/sh/mm/cache-shx3.c:18:13: warning: no previous prototype for 'shx3_cache_init' [-Wmissing-prototypes]
arch/sh/mm/flush-sh4.c:106:13: warning: no previous prototype for 'sh4__flush_region_init' [-Wmissing-prototypes]
arch/sh/mm/cache-sh7705.c:190:13: warning: no previous prototype for 'sh7705_cache_init' [-Wmissing-prototypes]

Fix this by moving all cache-related forward declarations to
<asm/cacheflush.h>, and by including the latter where needed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/f47ab87636d16db4c47bebe1bf62650045f61989.1709579038.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2024-05-02 12:01:31 +02:00
..
irq sh: remove sh5 support 2020-06-01 14:48:52 -04:00
sh2 sh: j2: Use ioremap() to translate device tree address into kernel memory 2023-05-10 08:19:46 +02:00
sh2a sh: sh2a: Add missing #include <asm/processor.h> 2024-05-02 12:01:24 +02:00
sh3 sh: Avoid using IRQ0 on SH3 and SH4 2023-06-11 18:22:47 +02:00
sh4 sh: Remove unused SH4-202 support 2023-10-25 16:49:58 +02:00
sh4a sh: cache: Move forward declarations to <asm/cacheflush.h> 2024-05-02 12:01:31 +02:00
shmobile cpuidle: Drop disabled field from struct cpuidle_state 2019-11-29 11:48:39 +01:00
adc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock-cpg.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock.c sh: cpu: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
fpu.c signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL) 2021-10-25 15:56:29 -05:00
init.c sh: remove sh5 support 2020-06-01 14:48:52 -04:00
Makefile sh: remove sh5 support 2020-06-01 14:48:52 -04:00
pfc.c sh: cpu: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
proc.c sh: remove sh5 support 2020-06-01 14:48:52 -04:00