x86/cmpxchg: add a locked add() helper
Mostly to remove some conditional code in spinlock.h.
Signed-off-by:
Jeremy Fitzhardinge <jeremy@goop.org>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Mostly to remove some conditional code in spinlock.h.
Signed-off-by:
Jeremy Fitzhardinge <jeremy@goop.org>