diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-12-04 12:57:09 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-10 17:21:42 -0800 |
commit | d1f4b2b875e49dbbc9114bf340ee6871a892d014 (patch) | |
tree | 3a06630ef97196b26aaf09ee5f96cbebbb723462 /arch/mips/kernel/machine_kexec.c | |
parent | b4fc7a3c37c3cd053f3ccf0553d7837e9d3e810b (diff) | |
download | linux-d1f4b2b875e49dbbc9114bf340ee6871a892d014.tar.gz linux-d1f4b2b875e49dbbc9114bf340ee6871a892d014.tar.bz2 linux-d1f4b2b875e49dbbc9114bf340ee6871a892d014.zip |
mips: smp: fix setup_profiling_timer() prototype
The function is unconditionally defined in smp.c but is conditionally
declared in a header that is not included here.
arch/mips/kernel/smp.c:473:5: error: no previous prototype for 'setup_profiling_timer' [-Werror=missing-prototypes]
Add the missing #include and #ifdef to match the declaration.
Link: https://lkml.kernel.org/r/20231204115710.2247097-20-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Stephen Rothwell <sfr@rothwell.id.au>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/mips/kernel/machine_kexec.c')
0 files changed, 0 insertions, 0 deletions