ARC: atomic: !LLSC: use int data type consistently

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
This commit is contained in:
Vineet Gupta 2020-05-05 22:59:57 -07:00
Родитель b1040148b2
Коммит ca766f04ad
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -42,7 +42,7 @@ static inline void arch_atomic_##op(int i, atomic_t *v) \
static inline int arch_atomic_##op##_return(int i, atomic_t *v) \
{ \
unsigned long flags; \
unsigned long temp; \
unsigned int temp; \
\
/* \
* spin lock/unlock provides the needed smp_mb() before/after \
@ -60,7 +60,7 @@ static inline int arch_atomic_##op##_return(int i, atomic_t *v) \
static inline int arch_atomic_fetch_##op(int i, atomic_t *v) \
{ \
unsigned long flags; \
unsigned long orig; \
unsigned int orig; \
\
/* \
* spin lock/unlock provides the needed smp_mb() before/after \