linux/arch/sh
Geert Uytterhoeven f577cd2814 sh: smp: Fix missing prototypes
arch/sh/kernel/smp.c:173:17: warning: no previous prototype for 'start_secondary' [-Wmissing-prototypes]
arch/sh/kernel/smp.c:324:5: warning: no previous prototype for 'setup_profiling_timer' [-Wmissing-prototypes]

Make start_secondary() static, as it is only used in this file.
Include <linux/profile.h> to fix the other warning.

There are no users outside this file, so make it static.

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/6b6b9a84b30ee56f57f409a7550c69d4aece5dc3.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
..
boards sh: ecovec24: Rename missed backlight field from fbdev to dev 2024-01-19 09:07:00 +01:00
boot sh: Fix build with CONFIG_UBSAN=y 2024-03-01 16:03:32 -08:00
cchips sh: hd64461: Make setup_hd64461() static 2024-03-21 12:17:35 +01:00
configs vfs-6.8.netfs 2024-01-19 09:10:23 -08:00
drivers sh: dma: Remove unused dmac_search_free_channel() 2024-05-02 12:01:24 +02:00
include sh: ftrace: Fix missing prototypes 2024-05-02 12:01:24 +02:00
kernel sh: smp: Fix missing prototypes 2024-05-02 12:01:24 +02:00
lib sh: Use generic GCC library routines 2023-04-25 09:16:47 +02:00
math-emu sh: math-emu: Add missing #include <asm/fpu.h> 2024-05-02 12:01:24 +02:00
mm sh: nommu: Add missing #include <asm/cacheflush.h> 2024-05-02 12:01:24 +02:00
tools sh: Remove SH5-based Cayman platform 2020-08-14 22:05:06 -04:00
Kbuild sh: Move build rule for cchips/hd6446x/ to arch/sh/Kbuild 2023-07-05 18:55:18 +02:00
Kconfig Introduce cpu_dcache_is_aliasing() across all architectures 2024-02-22 15:27:19 -08:00
Kconfig.cpu docs: move superh documentation under Documentation/arch/ 2023-03-30 13:00:35 -06:00
Kconfig.debug sh: bios: Revive earlyprintk support 2023-10-25 16:50:30 +02:00
Makefile sh: Remove compiler flag duplication 2023-07-05 18:55:25 +02:00