diff options
| author | Paul Burton <[email protected]> | 2017-08-23 11:17:45 -0700 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2017-08-29 15:21:54 +0200 |
| commit | 2904cdba3e621d4ca0effe61720a04ed9d272c07 (patch) | |
| tree | 452080f3e6813a0e42575ecf2105f4547346d810 /tools/perf/scripts/python | |
| parent | b47e9c62f2312066df5719cfc3a6104bf854071a (diff) | |
MIPS: generic: Include asm/time.h for get_c0_*_int()
arch/mips/generic/irq.c provides implementations of the
get_c0_compare_int() & get_c0_perfcount_int() functions, but doesn't
include the asm/time.h header which declares them. This leads to
warnings from sparse:
arch/mips/generic/irq.c:36:5: warning: symbol 'get_c0_perfcount_int'
was not declared. Should it be static?
arch/mips/generic/irq.c:52:14: warning: symbol 'get_c0_compare_int'
was not declared. Should it be static?
Fix this by including asm/time.h to get the declarations of
get_c0_compare_int() & get_c0_perfcount_int().
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/17167/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions