]> git.karo-electronics.de Git - mv-sheeva.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)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 29 Aug 2011 20:41:17 +0000 (13:41 -0700)
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Link: http://lkml.kernel.org/r/4E5BCC40.3030501@goop.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/cmpxchg_32.h

index 024b694517ceffa75355d577fbcd778d8e098327..59d8e36d1eed9abe5f3ceeb1a3cb64668494d84c 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