diff options
| author | Breno Leitao <leitao@debian.org> | 2018-10-22 11:54:17 -0300 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-11-25 17:11:21 +1100 |
| commit | 3b30c6e8b962c5d4d8d8b6ae7688380dadc03174 (patch) | |
| tree | 6786783919fa0d1d79f22ed215b54d4413276fe3 /tools/perf/scripts/python | |
| parent | powerpc/xmon: Define static functions (diff) | |
| download | linux-3b30c6e8b962c5d4d8d8b6ae7688380dadc03174.tar.gz linux-3b30c6e8b962c5d4d8d8b6ae7688380dadc03174.zip | |
powerpc/lib: Declare static methods
Functions do_stf_{entry,exit}_barrier_fixups are static but not declared as
such. This was detected by `sparse` tool with the following warning:
arch/powerpc/lib/feature-fixups.c:121:6: warning: symbol 'do_stf_entry_barrier_fixups' was not declared. Should it be static?
arch/powerpc/lib/feature-fixups.c:171:6: warning: symbol 'do_stf_exit_barrier_fixups' was not declared. Should it be static?
This patch declares both functions as static, as they are only called by
do_stf_barrier_fixups(), which is in the same source code file.
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
