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