x86/cmpxchg: add a locked add() helper
Mostly to remove some conditional code in spinlock.h.
Signed-off-by: NJeremy Fitzhardinge <jeremy@goop.org>
Showing
想要评论请 注册 或 登录
Mostly to remove some conditional code in spinlock.h.
Signed-off-by: NJeremy Fitzhardinge <jeremy@goop.org>