[ARM SMP] Fix data corruption in test_* bitops
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 27 Jul 2005 22:00:05 +0000 (23:00 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Jul 2005 22:00:05 +0000 (23:00 +0100)
commit614d73edae68836f7659ee8efec90878e6215fb1
tree6a9cde929df6175e797a157ca36df4c5cd99f3ae
parent9e566d8bd61f939b7f5d7d969f5b178571471cf9
[ARM SMP] Fix data corruption in test_* bitops

If we found that the bit was already in the desired state, we
would skip performing the operation, and write random data back.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/lib/bitops.h