Helge Deller
e14620987e
parisc: Fix compiler warnings in debug_core.c
[ Upstream commit 75cf9797006a3a9f29a3a25c1febd6842a4a9eb2 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-12 12:21:44 +01:00
..
2019-09-12 15:50:07 +02:00
2019-07-31 16:18:18 +02:00
2020-01-12 12:21:44 +01:00
2020-01-12 12:21:33 +01:00
2019-08-03 08:56:57 +02:00
2019-08-10 12:45:37 -07:00
2019-10-14 21:44:17 +02:00
2017-11-02 11:10:55 +01:00
2013-07-09 22:09:20 +02:00
2013-11-07 22:28:06 +01:00
2019-09-19 13:27:23 -07:00
2018-08-02 08:06:48 +09:00
2019-08-21 21:05:21 +09:00