diff options
author | Ravi Bangoria <[email protected]> | 2020-06-02 09:42:08 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-06-02 20:58:55 +1000 |
commit | ef3534a94fdbdeab4c89d18d0164be2ad5d6dbb7 (patch) | |
tree | 6e85efff9faa6c15c1193abe7a1ce804aa139602 /tools/perf/scripts/python/syscall-counts.py | |
parent | 094235222d41d68d35de18170058d94a96a82628 (diff) |
hw-breakpoints: Fix build warnings with clang
kbuild test robot reported some build warnings in the hw_breakpoint
code when compiled with clang[1]. Some of them were introduced by the
recent powerpc change to add arch_reserve_bp_slot() and
arch_release_bp_slot(). Fix them all.
kernel/events/hw_breakpoint.c:71:12: warning: no previous prototype for function 'hw_breakpoint_weight'
kernel/events/hw_breakpoint.c:216:12: warning: no previous prototype for function 'arch_reserve_bp_slot'
kernel/events/hw_breakpoint.c:221:13: warning: no previous prototype for function 'arch_release_bp_slot'
kernel/events/hw_breakpoint.c:228:13: warning: no previous prototype for function 'arch_unregister_hw_breakpoint'
[1]: https://lore.kernel.org/linuxppc-dev/202005192233.oi9CjRtA%[email protected]/
Fixes: 29da4f91c0c1 ("powerpc/watchpoint: Don't allow concurrent perf and ptrace events")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Ravi Bangoria <[email protected]>
[mpe: Drop extern, flesh out change log, add Fixes tag]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions