summaryrefslogtreecommitdiff
path: root/arch/powerpc/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/atomic.h')
-rw-r--r--arch/powerpc/atomic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/atomic.h b/arch/powerpc/atomic.h
index 1044886d..1c50361e 100644
--- a/arch/powerpc/atomic.h
+++ b/arch/powerpc/atomic.h
@@ -80,6 +80,7 @@ static inline void a_store(volatile int *p, int x)
static inline void a_spin()
{
+ a_cas(&(int){0}, 0, 0);
}
static inline void a_crash()