sh: Fixup __raw_read_trylock().
authorPaul Mundt <lethal@linux-sh.org>
Tue, 3 Oct 2006 05:13:09 +0000 (14:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 3 Oct 2006 05:13:09 +0000 (14:13 +0900)
commitfac99d97469e7f91102f97101bea620e5f073196
treedc1c9dfc3bebfb6fc0a2fd48b8f5c8b7a90c017a
parent2914d4da172f53f71d0563d3c3bae14e496cbc86
sh: Fixup __raw_read_trylock().

generic__raw_read_trylock() was broken, fix up the __raw_read_trylock()
implementation for something sensible. Taken from m32r, which has the
same use cases.

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