diff options
Diffstat (limited to 'arch/microblaze/atomic.h')
-rw-r--r-- | arch/microblaze/atomic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/microblaze/atomic.h b/arch/microblaze/atomic.h index ee7aa256..818bcc0d 100644 --- a/arch/microblaze/atomic.h +++ b/arch/microblaze/atomic.h @@ -134,6 +134,11 @@ static inline void a_or(volatile int *p, int v) while (a_cas(p, old, old|v) != old); } +static inline void a_or_l(volatile void *p, long v) +{ + a_or(p, v); +} + static inline void a_and_64(volatile uint64_t *p, uint64_t v) { union { uint64_t v; uint32_t r[2]; } u = { v }; |