aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-10-08 14:34:04 +0200
committerGeert Uytterhoeven <[email protected]>2020-11-02 12:05:21 +0100
commit1e10cf448f841251053c7b379dfdf0ffa77790d7 (patch)
tree1c2ebcc713bf4adbaeee903f3839aa70d6da2993 /tools/perf/scripts/python/event_analyzing_sample.py
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
m68k: Avoid xchg() warning
gcc warns about the value of xchg()/cmpxchg() being unused in some cases: net/core/filter.c: In function 'bpf_clear_redirect_map': arch/m68k/include/asm/cmpxchg.h:137:3: warning: value computed is not used [-Wunused-value] 106 | #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) net/core/filter.c:3595:4: note: in expansion of macro 'cmpxchg' 3595 | cmpxchg(&ri->map, map, NULL); Shut up that warning like we do on other architectures, by turning the macro into a statement expression. Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions