summaryrefslogtreecommitdiff
path: root/arch/powerpc
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/powerpc
parentc84d53051fcb4f3d14d5a245e1d7ee8512bcb199 (diff)
parent459e39538e612b8dd130d34b93c9bfc89ecc836c (diff)
Merge branch 'locking/header'
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/atomic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/atomic.h b/arch/powerpc/include/asm/atomic.h
index 498785ffc25f..0311c3c42960 100644
--- a/arch/powerpc/include/asm/atomic.h
+++ b/arch/powerpc/include/asm/atomic.h
@@ -11,8 +11,6 @@
#include <asm/cmpxchg.h>
#include <asm/barrier.h>
-#define ATOMIC_INIT(i) { (i) }
-
/*
* Since *_return_relaxed and {cmp}xchg_relaxed are implemented with
* a "bne-" instruction at the end, so an isync is enough as a acquire barrier