locking/mutex: Introduce ww_mutex_set_context_slowpath()
authorDavidlohr Bueso <dave@stgolabs.net>
Tue, 6 Jan 2015 19:45:06 +0000 (11:45 -0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 14 Jan 2015 14:07:30 +0000 (15:07 +0100)
commit4bd19084faa61a8c68586e74f03f5776179f65c2
treec240de51529bea98656f06fcdb9a0af383b6b29a
parente42f678a0237f84f0004fbaf0fad0b844751eadd
locking/mutex: Introduce ww_mutex_set_context_slowpath()

... which is equivalent to the fastpath counter part.
This mainly allows getting some WW specific code out
of generic mutex paths.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1420573509-24774-4-git-send-email-dave@stgolabs.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/mutex.c