]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: Fix up the SH-4A mutex fastpath semantics.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 8 Dec 2008 02:25:50 +0000 (11:25 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:43:52 +0000 (18:43 +0900)
commit77ba93a7ac5fb0d9338bffbf97c787b8efe00806
tree5446453de9b7317e0c5ca255e13e553843c30093
parentc6f17cb2272121475c87592560534b157b17544e
sh: Fix up the SH-4A mutex fastpath semantics.

This fixes up the __mutex_fastpath_xxx() routines to match the semantics
noted in the comment. Previously these were looping rather than doing a
single-pass, which is counter-intuitive, as the slow path takes care of
the looping for us in the event of contention.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/mutex-llsc.h