diff options
author | Geert Uytterhoeven <[email protected]> | 2024-03-01 22:02:29 +0100 |
---|---|---|
committer | John Paul Adrian Glaubitz <[email protected]> | 2024-05-02 12:01:24 +0200 |
commit | f577cd2814608e8eda0145c25bffb33fc2de0aa2 (patch) | |
tree | 83a4db8e4fa6496d9bb0027806493083a0acb36c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bbea7c81e937e3908fc7c6e8598221c2e56a52cc (diff) |
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 <[email protected]>
Reviewed-by: John Paul Adrian Glaubitz <[email protected]>
Link: https://lore.kernel.org/r/6b6b9a84b30ee56f57f409a7550c69d4aece5dc3.1709326528.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions