]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4977fe04caaaf6000dd9a52a8a4aaf7b2d9cfc3a
treedc1c9dfc3bebfb6fc0a2fd48b8f5c8b7a90c017a
parent085ea4f51bbab8163d4a6e54c7151b78d9f51405
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