diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-10-09 20:55:13 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@kernel.org> | 2024-12-10 21:12:56 +0300 |
commit | 1e8af9f04346ecc0bccf0c53b728fc8eb3490a28 (patch) | |
tree | a78f75503963baf60a64f0c7aaa1809027a7e8d0 /tools/perf/scripts/python/syscall-counts.py | |
parent | dd2b2302efffab751d1c2d9a436365db0ee55a42 (diff) | |
download | linux-1e8af9f04346ecc0bccf0c53b728fc8eb3490a28.tar.xz |
ARC: build: Use __force to suppress per-CPU cmpxchg warnings
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions