diff options
Diffstat (limited to 'arch/microblaze/atomic.h')
-rw-r--r-- | arch/microblaze/atomic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/atomic.h b/arch/microblaze/atomic.h index 96265fe6..abb79b53 100644 --- a/arch/microblaze/atomic.h +++ b/arch/microblaze/atomic.h @@ -97,6 +97,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() |