diff options
Diffstat (limited to 'arch/sh/atomic.h')
-rw-r--r-- | arch/sh/atomic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/atomic.h b/arch/sh/atomic.h index 93ab54fe..b95bbffc 100644 --- a/arch/sh/atomic.h +++ b/arch/sh/atomic.h @@ -53,6 +53,7 @@ static inline void a_dec(volatile int *x) static inline void a_spin() { + a_cas(&(int){0}, 0, 0); } static inline void a_crash() |