Helge Deller
018cb55504
parisc: Fix compiler warnings in debug_core.c
[ Upstream commit 75cf979700 ]
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 11:24:25 +01:00
..
2019-05-25 18:26:45 +02:00
2016-06-16 10:48:32 +02:00
2018-08-15 18:14:41 +02:00
2017-02-01 08:33:08 +01:00
2018-03-11 16:21:28 +01:00
2020-01-12 11:24:25 +01:00
2017-07-21 07:42:20 +02:00
2016-10-05 22:54:40 +02:00
2016-05-22 21:57:40 +02:00
2016-05-22 21:38:47 +02:00
2018-05-19 10:27:00 +02:00
2016-08-02 16:44:29 +02:00
2018-01-10 09:29:54 +01:00
2016-10-05 22:54:40 +02:00
2017-07-21 07:42:20 +02:00
2016-06-24 17:23:52 -07:00
2016-12-07 08:56:40 +01:00
2019-04-17 08:36:47 +02:00
2018-08-24 13:12:41 +02:00
2016-05-22 21:38:47 +02:00
2016-05-22 21:38:47 +02:00
2016-10-11 20:52:47 +02:00
2017-04-21 09:31:23 +02:00