summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/atomic.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-07-29 16:14:21 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-07-29 16:14:21 +0200
commitf05d67179def83545d257aaff40b974e5915af38 (patch)
tree2154a66bb1dc6ebebfe75c81395bfc3d75a0a7f8 /arch/mips/include/asm/atomic.h
parentMerge tag 'v5.8-rc6' into locking/core, to pick up fixes (diff)
parentlocking/qspinlock: Do not include atomic.h from qspinlock_types.h (diff)
downloadlinux-f05d67179def83545d257aaff40b974e5915af38.tar.xz
linux-f05d67179def83545d257aaff40b974e5915af38.zip
Merge branch 'locking/header'
Diffstat (limited to 'arch/mips/include/asm/atomic.h')
-rw-r--r--arch/mips/include/asm/atomic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/include/asm/atomic.h b/arch/mips/include/asm/atomic.h
index e5ac88392d1f..f904084fcb1f 100644
--- a/arch/mips/include/asm/atomic.h
+++ b/arch/mips/include/asm/atomic.h
@@ -45,7 +45,6 @@ static __always_inline type pfx##_xchg(pfx##_t *v, type n) \
return xchg(&v->counter, n); \
}
-#define ATOMIC_INIT(i) { (i) }
ATOMIC_OPS(atomic, int)
#ifdef CONFIG_64BIT