summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/local.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-01 04:15:00 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-10-03 14:30:52 +0100
commitfef74705ea310acd716c2722bfeb0f796cf23640 (patch)
tree95f48dfc2f53edd15fc5246250444c46fca22010 /include/asm-mips/local.h
parentf6a9e6dec537dc1d9d2c62d7b8ad205d0993bddc (diff)
downloadop-kernel-dev-fef74705ea310acd716c2722bfeb0f796cf23640.zip
op-kernel-dev-fef74705ea310acd716c2722bfeb0f796cf23640.tar.gz
[MIPS] Type proof reimplementation of cmpxchg.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/local.h')
-rw-r--r--include/asm-mips/local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-mips/local.h b/include/asm-mips/local.h
index ed882c8..7034a01 100644
--- a/include/asm-mips/local.h
+++ b/include/asm-mips/local.h
@@ -4,6 +4,7 @@
#include <linux/percpu.h>
#include <linux/bitops.h>
#include <asm/atomic.h>
+#include <asm/cmpxchg.h>
#include <asm/war.h>
typedef struct
OpenPOWER on IntegriCloud