diff options
author | Nathan Chancellor <nathan@kernel.org> | 2023-11-30 15:58:26 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-10 17:21:36 -0800 |
commit | b0f731229a255112bfc82dd81f997a5f3484249e (patch) | |
tree | 7a822f538caa2a0d55a00dd25da2add3a9fc8053 /.rustfmt.toml | |
parent | 9e06373780bd946d4990f84765de4f9bc168ed82 (diff) |
hexagon: process: include linux/cpu.h for arch_cpu_idle() prototype
Clang warns:
arch/hexagon/kernel/process.c:43:6: warning: no previous prototype for function 'arch_cpu_idle' [-Wmissing-prototypes]
43 | void arch_cpu_idle(void)
| ^
arch/hexagon/kernel/process.c:43:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
43 | void arch_cpu_idle(void)
| ^
| static
This prototype is declared in include/linux/cpu.h, include it in
process.c to clear up the warning.
Link: https://lkml.kernel.org/r/20231130-hexagon-missing-prototypes-v1-13-5c34714afe9e@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Brian Cain <bcain@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions