diff options
| author | Paul Burton <[email protected]> | 2017-08-23 11:17:47 -0700 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2017-08-29 15:21:54 +0200 |
| commit | 91955e3ef5a247fa96908822d4021072106edca8 (patch) | |
| tree | 5b31277796a6a3965a4f209ea9da549a3fa89038 /tools/perf/scripts/python/bin | |
| parent | 699394246968150cdcbd10749538bd67b50c5326 (diff) | |
MIPS: Include linux/cpu.h for arch_cpu_idle()
arch/mips/kernel/idle.c provides our implementation of the
arch_cpu_idle() function, but doesn't include the linux/cpu.h header
which declares it. This leads to a warning from sparse:
arch/mips/kernel/idle.c:256:6: warning: symbol 'arch_cpu_idle' was not
declared. Should it be static?
Fix this by including linux/cpu.h to get the declaration of
arch_cpu_idle().
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/17169/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions