提交 ca766f04 编写于 作者: V Vineet Gupta

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

Acked-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: NVineet Gupta <vgupta@kernel.org>
上级 b1040148
......@@ -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 \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册