aboutsummaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorPeter Zijlstra2020-07-29 16:14:21 +0200
committerPeter Zijlstra2020-07-29 16:14:21 +0200
commitf05d67179def83545d257aaff40b974e5915af38 (patch)
tree2154a66bb1dc6ebebfe75c81395bfc3d75a0a7f8 /arch/sh
parentc84d53051fcb4f3d14d5a245e1d7ee8512bcb199 (diff)
parent459e39538e612b8dd130d34b93c9bfc89ecc836c (diff)
Merge branch 'locking/header'
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/include/asm/atomic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/include/asm/atomic.h b/arch/sh/include/asm/atomic.h
index f37b95a80232..7c2a8a703b9a 100644
--- a/arch/sh/include/asm/atomic.h
+++ b/arch/sh/include/asm/atomic.h
@@ -19,8 +19,6 @@
#include <asm/cmpxchg.h>
#include <asm/barrier.h>
-#define ATOMIC_INIT(i) { (i) }
-
#define atomic_read(v) READ_ONCE((v)->counter)
#define atomic_set(v,i) WRITE_ONCE((v)->counter, (i))