asm-generic: cmpxchg does not handle non-long arguments
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 22 Jun 2010 08:30:15 +0000 (10:30 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 9 Oct 2010 19:51:27 +0000 (21:51 +0200)
commitc6691126636769bd22bfd7b55829f0373a93c1ce
treeac6cad088a65e5e8b9a5c7035d883f7eb812fdc9
parent8b9d40691e8f5e7e0c8fb839c2bad29c5e0888ce
asm-generic: cmpxchg does not handle non-long arguments

The version of cmpxchg defined in asm-generic/system.h does not handle
correctly non-long arguments. Use the version defined in cmpxchg.h
instead.

Signed-off-by: Mathieu Lacage <mathieu.lacage@inria.fr>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/system.h