From: Michel Lespinasse Date: Tue, 7 May 2013 13:45:52 +0000 (-0700) Subject: rwsem: simplify rwsem_down_read_failed X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~14^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da16922cc031b9c0221c836994276ab193b31de8;p=pandora-kernel.git rwsem: simplify rwsem_down_read_failed When trying to acquire a read lock, the RWSEM_ACTIVE_READ_BIAS adjustment doesn't cause other readers to block, so we never have to worry about waking them back after canceling this adjustment in rwsem_down_read_failed(). We also never want to steal the lock in rwsem_down_read_failed(), so we don't have to grab the wait_lock either. Signed-off-by: Michel Lespinasse Reviewed-by: Rik van Riel Reviewed-by: Peter Hurley Acked-by: Davidlohr Bueso Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed