]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86/cmpxchg: move 32-bit __cmpxchg_wrong_size to match 64 bit.
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 18 Aug 2011 18:34:46 +0000 (11:34 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Wed, 24 Aug 2011 20:54:44 +0000 (13:54 -0700)
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/include/asm/cmpxchg_32.h

index 8d53b16fe930100ecf96c64177f4c284cc0edea2..0ef9b82723677539d4ac4be2b3d47ef8c2acc476 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 extern void __xchg_wrong_size(void);
+extern void __cmpxchg_wrong_size(void);
 
 /*
  * Note: no "lock" prefix even on SMP: xchg always implies lock anyway.
@@ -84,8 +85,6 @@ static inline void set_64bit(volatile u64 *ptr, u64 value)
                     : "memory");
 }
 
-extern void __cmpxchg_wrong_size(void);
-
 /*
  * Atomic compare and exchange.  Compare OLD with MEM, if identical,
  * store NEW in MEM.  Return the initial value in MEM.  Success is