diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/atomic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/atomic.h b/arch/mips/atomic.h index 3ec03586..cc5bf498 100644 --- a/arch/mips/atomic.h +++ b/arch/mips/atomic.h @@ -137,6 +137,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() |