Files
Paul E. McKenney 4be7ad1f9c ARC: build: Use __force to suppress per-CPU cmpxchg warnings
[ Upstream commit 1e8af9f04346ecc0bccf0c53b728fc8eb3490a28 ]

Currently, the cast of the first argument to cmpxchg_emu_u8() drops the
__percpu address-space designator, which results in sparse complaints
when applying cmpxchg() to per-CPU variables in ARC.  Therefore, use
__force to suppress these complaints, given that this does not pertain
to cmpxchg() semantics, which are plently well-defined on variables in
general, whether per-CPU or otherwise.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409251336.ToC0TvWB-lkp@intel.com/
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: <linux-snps-arc@lists.infradead.org>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-09 13:33:45 +01:00
..
2020-06-09 09:39:10 -07:00
2024-04-01 18:40:39 -07:00
2020-06-16 12:56:37 -07:00
2024-04-01 18:40:39 -07:00
2024-04-01 18:40:39 -07:00
2023-12-13 19:33:10 -08:00
2024-10-02 17:23:23 -04:00
2024-04-01 18:40:39 -07:00
2024-04-01 18:40:39 -07:00
2024-07-10 14:23:38 +02:00
2024-04-01 18:40:39 -07:00
2024-04-25 20:55:49 -07:00
2024-10-02 17:22:47 -04:00
2024-04-01 18:40:39 -07:00
2021-10-15 18:06:32 -07:00
2024-04-01 18:40:39 -07:00
2024-04-01 18:40:39 -07:00
2022-04-25 13:09:47 -07:00
2024-04-01 18:40:39 -07:00
2024-07-10 14:23:38 +02:00