core: thread: return 0 from sem_down() if we didn't have to wait
authorH. Peter Anvin <hpa@zytor.com>
Thu, 17 Sep 2009 00:47:02 +0000 (17:47 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Apr 2011 21:40:52 +0000 (14:40 -0700)
commit10de0b22546489b58ef3588f77be3121a26c0a3e
treeba87b7eff5de7d3da690e88a55e388ad2f71b2cc
parent0c1dff8db43c78e8538b04abadb80e27c0d008f7
core: thread: return 0 from sem_down() if we didn't have to wait

Return 0 from sem_down if we passed right through the assembly code.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/thread/sem_asm.S