diff options
author | Helge Deller <deller@gmx.de> | 2019-12-20 21:00:19 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2019-12-20 21:01:42 +0100 |
commit | 75cf9797006a3a9f29a3a25c1febd6842a4a9eb2 (patch) | |
tree | 9559ef06352e48ec7fd3d511f0c9efc44d92f51a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 36257d5580419b28bd42de47d20400b04fc1dd2c (diff) |
parisc: Fix compiler warnings in debug_core.c
Fix this compiler warning:
kernel/debug/debug_core.c: In function ‘kgdb_cpu_enter’:
arch/parisc/include/asm/cmpxchg.h:48:3: warning: value computed is not used [-Wunused-value]
48 | ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr))))
arch/parisc/include/asm/atomic.h:78:30: note: in expansion of macro ‘xchg’
78 | #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
| ^~~~
kernel/debug/debug_core.c:596:4: note: in expansion of macro ‘atomic_xchg’
596 | atomic_xchg(&kgdb_active, cpu);
| ^~~~~~~~~~~
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions