aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/atomic.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-11-30 10:38:10 -0500
committerRalf Baechle <ralf@linux-mips.org>2006-12-04 17:43:13 -0500
commit4f8b5c70967de5fd27f2092f1f8da47f4705bb67 (patch)
treef58d1127895111c6b5b723a3fde03a77e153eaff /include/asm-mips/atomic.h
parent05e4396651ca1cac51d8da9ff4992741c9dc1e39 (diff)
[MIPS] Fix atomic.h build errors.
For the definition of atomic64_t atomic.h was relying on <asm/types.h> having been included previously. Before changeset d89d8e0637a5e4e0a12e90c4bc934d0d4c335239 this was happening as a side effect of including <linux/spinlock.h>. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/atomic.h')
-rw-r--r--include/asm-mips/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/atomic.h b/include/asm-mips/atomic.h
index 7978d8e11647..365767074c79 100644
--- a/include/asm-mips/atomic.h
+++ b/include/asm-mips/atomic.h
@@ -375,7 +375,7 @@ static __inline__ int atomic_sub_if_positive(int i, atomic_t * v)
375 375
376#ifdef CONFIG_64BIT 376#ifdef CONFIG_64BIT
377 377
378typedef struct { volatile __s64 counter; } atomic64_t; 378typedef struct { volatile long counter; } atomic64_t;
379 379
380#define ATOMIC64_INIT(i) { (i) } 380#define ATOMIC64_INIT(i) { (i) }
381 381