aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/mutex-llsc.h
Commit message (Collapse)AuthorAgeFilesLines
* sh: Fix up T-bit error handling in SH-4A mutex fastpath.Takashi Yoshii2009-01-291-12/+9
| | | | | | | | | This corrects a deadlock encountered on ap325 in the cases where the mutex is contended and the slow-path needs to be fallen back upon. Signed-off-by: Takashi YOSHII <yoshii.takashi@renesas.com> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix an off-by-1 check in __mutex_fastpath_unlock().Paul Mundt2008-12-221-1/+1
| | | | Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Fix up the SH-4A mutex fastpath semantics.Paul Mundt2008-12-221-16/+21
| | | | | | | | | 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>
* sh: Add SH-4A optimized fastpath mutex implementation.Michael Trimarchi2008-12-221-0/+107
Add fast mutex path implementation for the SH4A architecture Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it> Signed-off-by: Paul Mundt <lethal@linux-sh.org>