Re: [PATCH 3/3] locking/atomic: openrisc: use generic_cmpxchg[64]_local for arch_cmpxchg[64]_local

2023-11-02 Thread wuqiang.matt
On 2023/11/2 17:30, wuqiang.matt wrote: On 2023/11/2 12:53, Vineet Gupta wrote: On 10/29/23 20:41, wuqiang.matt wrote: arch_cmpxchg_relaxed: ...   switch(sizeof((_p_))) {   case 4: arch_cmpxchg: ... BUILD_BUG_ON(sizeof(_p_) != 4); ... _p is the address pointer, so

Re: [PATCH 3/3] locking/atomic: openrisc: use generic_cmpxchg[64]_local for arch_cmpxchg[64]_local

2023-11-02 Thread wuqiang.matt
On 2023/11/2 12:53, Vineet Gupta wrote: On 10/29/23 20:41, wuqiang.matt wrote: arch_cmpxchg_relaxed: ...   switch(sizeof((_p_))) {   case 4: arch_cmpxchg: ... BUILD_BUG_ON(sizeof(_p_) != 4); ... _p is the address pointer, so I'm thinking it's a typo but I couldn't