| commit | d52e4d5a8d1e3be5e6e145131b4f64fcb0ca1cb5 | [log] [tgz] |
|---|---|---|
| author | Al Viro <viro@zeniv.linux.org.uk> | Mon Apr 01 23:13:17 2024 -0400 |
| committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Apr 03 18:24:13 2024 -0400 |
| tree | 5de0ff2c6e63c7f7e7e4928b4695ea31603375ce | |
| parent | 948ef7cb2bbe078d49726b807882981a7284861e [diff] |
parisc: add u16 support to cmpxchg() Add (and export) __cmpxchg_u16(), teach __cmpxchg() to use it. And get rid of manual truncation down to u8, etc. in there - the only reason for those is to avoid bogus warnings about constant truncation from sparse, and those are easy to avoid by turning that switch into conditional expression. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>