]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/x86/include/asm/atomic_32.h
Merge commit 'v2.6.29-rc1' into perfcounters/core
[mv-sheeva.git] / arch / x86 / include / asm / atomic_32.h
index 9927e01b03c2c281cff96bad0c36ab3ab500da42..977250ed8b898c17a869e759ec431b71b55177f8 100644 (file)
@@ -2,6 +2,7 @@
 #define _ASM_X86_ATOMIC_32_H
 
 #include <linux/compiler.h>
+#include <linux/types.h>
 #include <asm/processor.h>
 #include <asm/cmpxchg.h>
 
  * resource counting etc..
  */
 
-/*
- * Make sure gcc doesn't try to be clever and move things around
- * on us. We need to use _exactly_ the address the user gave us,
- * not some alias that contains the same information.
- */
-typedef struct {
-       int counter;
-} atomic_t;
-
 #define ATOMIC_INIT(i) { (i) }
 
 /**