summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn@rivosinc.com>2025-04-19 14:13:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-11 15:35:34 +0300
commit7ca5540ba62392e022ae184e2ca52206ed08023b (patch)
tree226cab5e8d84383f476593929e734e9df28b1950 /tools/perf/scripts/python/stackcollapse.py
parentcbae610ca9e275fa982b724aa6fa50d73d38d1ea (diff)
downloadlinux-7ca5540ba62392e022ae184e2ca52206ed08023b.tar.xz
riscv: Replace function-like macro by static inline function
commit 121f34341d396b666d8a90b24768b40e08ca0d61 upstream. The flush_icache_range() function is implemented as a "function-like macro with unused parameters", which can result in "unused variables" warnings. Replace the macro with a static inline function, as advised by Documentation/process/coding-style.rst. Fixes: 08f051eda33b ("RISC-V: Flush I$ when making a dirty page executable") Signed-off-by: Björn Töpel <bjorn@rivosinc.com> Link: https://lore.kernel.org/r/20250419111402.1660267-1-bjorn@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Ron Economos <re@w6rz.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions