sh: Fix up T-bit error handling in SH-4A mutex fastpath.
commitc20f326a62c046ee958c3aa584f183201adb229f
authorTakashi Yoshii <yoshii.takashi@renesas.com>
Wed, 28 Jan 2009 09:29:13 +0000 (28 09:29 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 29 Jan 2009 02:56:03 +0000 (29 11:56 +0900)
tree1e8c72e5fd824d4182e14a21410c0e714e080dfe
parent03f07876df2565321871a2dbf33c5c737df185df
sh: Fix up T-bit error handling in SH-4A mutex fastpath.

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>
arch/sh/include/asm/mutex-llsc.h