diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm/include/atomic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm/include/atomic.h b/sys/arch/arm/include/atomic.h index 56422780611..33b43833dfa 100644 --- a/sys/arch/arm/include/atomic.h +++ b/sys/arch/arm/include/atomic.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atomic.h,v 1.17 2017/05/12 08:53:46 mpi Exp $ */ +/* $OpenBSD: atomic.h,v 1.18 2017/07/31 11:52:49 kettenis Exp $ */ /* Public Domain */ @@ -45,7 +45,7 @@ static inline void * _atomic_cas_ptr(volatile void *p, void *e, void *n) { void *ret; - uint32_t modified; + unsigned long modified; __asm volatile ( "1: ldrex %0, [%4] \n\t" @@ -99,7 +99,7 @@ static inline void * _atomic_swap_ptr(volatile void *p, void *v) { void *ret; - uint32_t modified; + unsigned long modified; __asm volatile ( "1: ldrex %0, [%3] \n\t" |