Re: ARC: Use __force to suppress per-CPU cmpxchg complaints

2024-10-16 Thread Paul E. McKenney
On Tue, Oct 15, 2024 at 10:33:14PM -0700, Vineet Gupta wrote: > On 10/9/24 10:55, Paul E. McKenney wrote: > > 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 vari

Re: ARC: Use __force to suppress per-CPU cmpxchg complaints

2024-10-15 Thread Vineet Gupta
On 10/9/24 10:55, Paul E. McKenney wrote: > 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,

ARC: Use __force to suppress per-CPU cmpxchg complaints

2024-10-09 Thread Paul E. McKenney
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() sema