linux/arch/sh/include
Geert Uytterhoeven 9ffc9da6cc sh: ftrace: Fix missing prototypes
arch/sh/kernel/ftrace.c:130:6: warning: no previous prototype for ‘arch_ftrace_nmi_enter’ [-Wmissing-prototypes]
arch/sh/kernel/ftrace.c:140:6: warning: no previous prototype for ‘arch_ftrace_nmi_exit’ [-Wmissing-prototypes]
arch/sh/kernel/ftrace.c:316:6: warning: no previous prototype for ‘prepare_ftrace_return’ [-Wmissing-prototypes]

Fix this by moving existing forward declarations to <asm/ftrace.h>, and
adding the missing forward declaration for prepare_ftrace_return().

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/910c8846a025e1c3b744a83ddf8e2816a3c5569d.1709326528.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2024-05-02 12:01:24 +02:00
..
asm sh: ftrace: Fix missing prototypes 2024-05-02 12:01:24 +02:00
cpu-common/cpu sh: include: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
cpu-sh2/cpu sh: include: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
cpu-sh2a/cpu sh: sh7269: Remove bogus SSU GPIO function definitions 2019-12-31 10:01:38 +01:00
cpu-sh3/cpu sh: include: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
cpu-sh4/cpu sh: dma: Drop incorrect SH_DMAC_BASE1 definition for SH4 2023-07-05 18:55:25 +02:00
cpu-sh4a/cpu
mach-common/mach sh: Remove stale microdev board 2023-10-25 16:48:06 +02:00
mach-dreamcast/mach sh: Avoid using IRQ0 on SH3 and SH4 2023-06-11 18:22:47 +02:00
mach-ecovec24/mach sh: include: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
mach-kfr2r09/mach sh: include: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
mach-landisk/mach
mach-migor/mach
mach-sdk7786/mach
mach-se/mach sh: Avoid using IRQ0 on SH3 and SH4 2023-06-11 18:22:47 +02:00
mach-sh03/mach
mach-x3proto/mach
uapi/asm sh: remove sh5 support 2020-06-01 14:48:52 -04:00