linux/arch/sh/include/asm
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
..
adc.h
addrspace.h
alignment.h
asm-offsets.h
atomic-grb.h
atomic-irq.h
atomic-llsc.h
atomic.h
barrier.h
bitops-cas.h
bitops-grb.h
bitops-llsc.h
bitops-op32.h
bitops.h
bl_bit.h
bl_bit_32.h
bug.h
cache.h
cache_insns.h
cache_insns_32.h
cacheflush.h sh: cache: Move forward declarations to <asm/cacheflush.h> 2024-05-02 12:01:31 +02:00
cachetype.h
checksum.h
checksum_32.h
clock.h
cmpxchg-cas.h
cmpxchg-grb.h
cmpxchg-irq.h
cmpxchg-llsc.h
cmpxchg-xchg.h
cmpxchg.h
device.h
dma-register.h
dma.h sh: dma: Remove unused functionality 2024-05-02 12:01:25 +02:00
dmabrg.h
dwarf.h
elf.h
entry-macros.S
extable.h
fb.h
fixmap.h
flat.h
fpu.h
freq.h
ftrace.h sh: ftrace: Fix missing prototypes 2024-05-02 12:01:24 +02:00
futex-cas.h
futex-irq.h
futex-llsc.h
futex.h
hardirq.h
hd64461.h
heartbeat.h
hugetlb.h
hw_breakpoint.h sh: hw_breakpoint: Add missing forward declaration for arch_bp_generic_fields() 2024-05-02 12:01:23 +02:00
hw_irq.h
i2c-sh7760.h
io.h
io_generic.h
io_noioport.h
io_trapped.h
irq.h
irqflags.h
Kbuild
kdebug.h
kexec.h
kgdb.h
kprobes.h
linkage.h
machvec.h
mmiowb.h
mmu.h
mmu_context.h
mmu_context_32.h
mmzone.h
module.h
page.h
pci.h
perf_event.h
pgalloc.h
pgtable-2level.h
pgtable-3level.h
pgtable.h
pgtable_32.h
platform_early.h
posix_types.h
processor.h
processor_32.h
ptrace.h
ptrace_32.h
push-switch.h
reboot.h
romimage-macros.h
rtc.h
seccomp.h
sections.h
setup.h
sfp-machine.h
sh7760fb.h
sh_bios.h
shmparam.h
siu.h
smc37c93x.h
smp-ops.h
smp.h
sparsemem.h
spi.h
spinlock-cas.h
spinlock-llsc.h
spinlock.h
spinlock_types.h
sram.h
stackprotector.h
stacktrace.h
string.h
string_32.h
suspend.h
switch_to.h
switch_to_32.h
syscall.h
syscall_32.h
syscalls.h sh: syscall: Add missing forward declaration for sys_cacheflush() 2024-05-02 12:01:23 +02:00
syscalls_32.h
thread_info.h
timex.h
tlb.h sh: tlb: Add missing forward declaration for handle_tlbmiss() 2024-05-02 12:01:23 +02:00
tlbflush.h
topology.h
traps.h
traps_32.h
types.h
uaccess.h
uaccess_32.h
uncached.h
unistd.h
unwinder.h
user.h
vermagic.h
vga.h
vmalloc.h
vmlinux.lds.h
watchdog.h
word-at-a-time.h