From: surinder Date: Wed, 28 May 2008 08:51:16 +0000 (+0100) Subject: [ARM] 5067/1: _raw_write_can_lock macro bugfix X-Git-Tag: v2.6.26-rc6~94^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e5c594607778f551b729577b046ee5d9333cfb5;p=pandora-kernel.git [ARM] 5067/1: _raw_write_can_lock macro bugfix The current __raw_write_can_lock macro tests whether the lock can be locked by checking if it is equal to 0x80000000, whereas the lock should be lockable if its value is 0 i.e. unlocked state is represented by 0. Hence the macro should test the value of lock against 0 and not 0x80000000. Signed-off-by: Surinder Pal Singh Signed-off-by: Russell King --- Reading git-diff-tree failed