aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2011-09-30 12:14:10 -0700
committerJeremy Fitzhardinge <jeremy@goop.org>2011-11-25 10:43:12 -0800
commit31a8394e069e47dc47f4c29e4213aa943342f19f (patch)
treef96a8826877e4c28fdc40f6e1aa4a1cf42187e22 /drivers/i2c/algos/i2c-algo-bit.c
parentx86/cmpxchg: add a locked add() helper (diff)
downloadwireguard-linux-31a8394e069e47dc47f4c29e4213aa943342f19f.tar.xz
wireguard-linux-31a8394e069e47dc47f4c29e4213aa943342f19f.zip
x86: consolidate xchg and xadd macros
They both have a basic "put new value in location, return old value" pattern, so they can use the same macro easily. Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions