path: root/arch/avr32
diff options
authorDavidlohr Bueso <>2016-06-28 14:56:51 -0700
committerIngo Molnar <>2016-07-07 09:16:20 +0200
commitf06628638cf6e75f179742b6c1b35076965b9fdd (patch)
tree7dbd4970a827063cfcb866b8bd298a0a5b05ee19 /arch/avr32
parent36e91aa2628e46c2146049eee8b9b7f773b0ffc3 (diff)
locking/atomic: Introduce inc/dec variants for the atomic_fetch_$op() API
With the inclusion of atomic FETCH-OP variants, many places in the kernel can make use of atomic_fetch_$op() to avoid the callers that need to compute the value/state _before_ the operation. Peter Zijlstra laid out the machinery but we are still missing the simpler dec,inc() calls (which future patches will make use of). This patch only deals with the generic code, as at least right now no arch actually implement them -- which is similar to what the OP-RETURN primitives currently do. Signed-off-by: Davidlohr Bueso <> Signed-off-by: Peter Zijlstra (Intel) <> Cc: Andrew Morton <> Cc: Cc: Linus Torvalds <> Cc: Paul E. McKenney <> Cc: Peter Zijlstra <> Cc: Thomas Gleixner <> Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Link: Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions