Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
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 \
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 \