mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
fdb2dd78ba
If CONFIG_SH_DSP=y (e.g. se7343_defconfig): arch/sh/kernel/traps_32.c:572:5: warning: no previous prototype for ‘is_dsp_inst’ [-Wmissing-prototypes] There are no users outside this file, so make it static. While at it, convert the dummy for the CONFIG_SH_DSP=n case from a macro to a static inline function, to increase type-safety. 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/8525fe446e7f24649a83b8cd6ca8b736ab746b80.1709579038.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> |
||
---|---|---|
.. | ||
cpu | ||
syscalls | ||
vsyscall | ||
.gitignore | ||
asm-offsets.c | ||
crash_dump.c | ||
debugtraps.S | ||
disassemble.c | ||
dma-coherent.c | ||
dumpstack.c | ||
dwarf.c | ||
entry-common.S | ||
ftrace.c | ||
head_32.S | ||
hw_breakpoint.c | ||
idle.c | ||
io_trapped.c | ||
io.c | ||
iomap.c | ||
ioport.c | ||
irq_32.c | ||
irq.c | ||
kdebugfs.c | ||
kgdb.c | ||
kprobes.c | ||
machine_kexec.c | ||
machvec.c | ||
Makefile | ||
module.c | ||
nmi_debug.c | ||
perf_callchain.c | ||
perf_event.c | ||
process_32.c | ||
process.c | ||
ptrace_32.c | ||
ptrace.c | ||
reboot.c | ||
relocate_kernel.S | ||
return_address.c | ||
setup.c | ||
sh_bios.c | ||
sh_ksyms_32.c | ||
signal_32.c | ||
smp.c | ||
stacktrace.c | ||
swsusp.c | ||
sys_sh32.c | ||
sys_sh.c | ||
syscalls_32.S | ||
time.c | ||
topology.c | ||
traps_32.c | ||
traps.c | ||
unwinder.c | ||
vmcore_info.c | ||
vmlinux.lds.S |