aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/atomic.h
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2007-05-08 03:34:20 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:19 -0400
commite656e245d5adf19f3c431e7f7792659c204e32f2 (patch)
tree55c58fcf25c8a7d527dae3b4fa271aa7ec3dc944 /include/asm-ia64/atomic.h
parentbb2382c3e4395ab595278cc7b92ac3f2eaf23f66 (diff)
atomic.h: i386 type safety fix
Remove an explicit cast to an integer type for the result returned by cmpxchg. It is not per se a problem on the i386 architecture, because sizeof(int) == sizeof(long), but whenever this code is cut'n'pasted to a accept passing an atomic64_t value as parameter to cmpxchg, xchg and add_unless, having 64 bits inputs casted to 32 bits. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-ia64/atomic.h')
0 files changed, 0 insertions, 0 deletions