]> err.no Git - linux-2.6/commit
[ARM] Use unsigned long not u32 in atomic_cmpxchg
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 16 Nov 2005 18:03:10 +0000 (18:03 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 16 Nov 2005 18:03:10 +0000 (18:03 +0000)
commit49ee57a3295a227b6a02785f75ccd521e493e983
tree3e1ab74e95d1599c6944f24fc32a30e601554827
parent1b12050f17460dc312cfd8cc59c79e181b23062b
[ARM] Use unsigned long not u32 in atomic_cmpxchg

Since atomic.h does not include types.h, u32 may not be defined.
Since atomics are supposed to work on unsigned long quantities,
use unsigned long instead.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/atomic.h