aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking/mutex.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2015-09-30 13:03:11 -0700
committerIngo Molnar <mingo@kernel.org>2015-10-06 17:28:19 +0200
commit63ab7bd0d450b726b88fa4b932f151b98cee2557 (patch)
treef0c6505750c3e1889e813916778f6f974936d10f /kernel/locking/mutex.c
parentMerge tag 'v4.3-rc4' into locking/core, to pick up fixes before applying new changes (diff)
downloadlinux-dev-63ab7bd0d450b726b88fa4b932f151b98cee2557.tar.xz
linux-dev-63ab7bd0d450b726b88fa4b932f151b98cee2557.zip
locking/asm-generic: Add _{relaxed|acquire|release}() variants for inc/dec atomics
Similar to what we have for regular add/sub calls. For now, no actual arch implements them, so everyone falls back to the default atomics... iow, nothing changes. These will be used in future primitives. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Paul E.McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Will Deacon <will.deacon@arm.com> Cc: linux-kernel@vger.kernel.org Link: http://lkml.kernel.org/r/1443643395-17016-2-git-send-email-dave@stgolabs.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/mutex.c')
0 files changed, 0 insertions, 0 deletions