diff options
| author | Cédric Le Goater <[email protected]> | 2021-01-04 15:31:54 +0100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-01-30 11:39:29 +1100 |
| commit | bb21e1b6c5352d62d866e9236ed427f632cd537b (patch) | |
| tree | 37c46e704522de6e5d720c58030c07f851c56ed6 /tools/perf/scripts/python/flamegraph.py | |
| parent | d47d307f1049be545d45cf0f2332495ec9a89cc0 (diff) | |
powerpc/optprobes: Make patch_imm64_load_insns() static
patch_imm64_load_insns() is only used locally in
arch_prepare_optimized_kprobe() and does not need to be external.
It fixes this W=1 compile error :
../arch/powerpc/kernel/optprobes.c:149:6: error: no previous prototype for ‘patch_imm64_load_insns’ [-Werror=missing-prototypes]
149 | void patch_imm64_load_insns(unsigned int val, kprobe_opcode_t *addr)
Signed-off-by: Cédric Le Goater <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions