about summary refs log tree commit diff
path: root/arch/mips/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/atomic.h')
-rw-r--r--arch/mips/atomic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/atomic.h b/arch/mips/atomic.h
index f3478ef2..69dcdf48 100644
--- a/arch/mips/atomic.h
+++ b/arch/mips/atomic.h
@@ -182,6 +182,11 @@ static inline void a_or(volatile int *p, int v)
 		: "=&r"(dummy) : "r"(p), "r"(v) : "memory" );
 }
 
+static inline void a_or_l(volatile void *p, long v)
+{
+	a_or(p, v);
+}
+
 static inline void a_and_64(volatile uint64_t *p, uint64_t v)
 {
 	union { uint64_t v; uint32_t r[2]; } u = { v };