[PATCH 3/3] ARC: build: Use __force to suppress per-CPU cmpxchg warnings

2024-10-15 Thread Vineet Gupta
From: "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 no

[PATCH 3/3] ARC: build: Use __force to suppress per-CPU cmpxchg warnings

2024-10-15 Thread Vineet Gupta
From: "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 no