diff options
author | surinder <srplsnh@gmail.com> | 2008-05-28 09:51:16 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-06-02 13:44:17 +0100 |
commit | 1e5c594607778f551b729577b046ee5d9333cfb5 (patch) | |
tree | d153988fa057faa33e747b94dbc73b5e9075c105 /arch | |
parent | ea6a7404da4b381b35bcec48338d376a3873ea46 (diff) | |
download | op-kernel-dev-1e5c594607778f551b729577b046ee5d9333cfb5.zip op-kernel-dev-1e5c594607778f551b729577b046ee5d9333cfb5.tar.gz |
[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 <srplsnh@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions