summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-10-09 10:55:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-09 13:33:45 +0100
commit4be7ad1f9cc22af312a7e127d5824cdccb26ccf6 (patch)
tree4501504163ac9f57f2bc29d87f609fe920a761ae /scripts
parent600340ed717c019f4118cd8d2d6fd22100b836ff (diff)
downloadlinux-4be7ad1f9cc22af312a7e127d5824cdccb26ccf6.tar.gz
linux-4be7ad1f9cc22af312a7e127d5824cdccb26ccf6.tar.bz2
linux-4be7ad1f9cc22af312a7e127d5824cdccb26ccf6.zip
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions