sync: use proper barriers when waiting indefinitely
authorErik Gilling <konkers@android.com>
Tue, 16 Oct 2012 00:58:46 +0000 (17:58 -0700)
committer黄涛 <huangtao@rock-chips.com>
Fri, 22 Feb 2013 09:47:15 +0000 (17:47 +0800)
commit8beeb5734620d640c4855e0addf898fb4354b86b
treecc5291ea203028e54c496f37e8f8449c36395b42
parent2211c1043768596555603eceefd4bd6e7aba97ab
sync: use proper barriers when waiting indefinitely

The previous fix only addressed waiting with a timeout.

Change-Id: I8ad735d2d0dfdd53592904e8a54f5689cb5eaa5e
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/base/sync.c