Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>

+2 -2
+2 -2
arch/arc/include/asm/atomic-spinlock.h
··· 42 42 static inline int arch_atomic_##op##_return(int i, atomic_t *v) \ 43 43 { \ 44 44 unsigned long flags; \ 45 - unsigned long temp; \ 45 + unsigned int temp; \ 46 46 \ 47 47 /* \ 48 48 * spin lock/unlock provides the needed smp_mb() before/after \ ··· 60 60 static inline int arch_atomic_fetch_##op(int i, atomic_t *v) \ 61 61 { \ 62 62 unsigned long flags; \ 63 - unsigned long orig; \ 63 + unsigned int orig; \ 64 64 \ 65 65 /* \ 66 66 * spin lock/unlock provides the needed smp_mb() before/after \