diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-04-01 23:13:17 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2024-04-09 22:06:00 -0700 |
commit | d428032b3524e8fc75cf0bcc86b409df8ddf532b (patch) | |
tree | 5de0ff2c6e63c7f7e7e4928b4695ea31603375ce /fs/btrfs/dev-replace.c | |
parent | c57e5dccb06decf3cb6c272ab138c033727149b5 (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>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions