MIPS: atomic_*(): Change type of intermediate variables.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 12 Jan 2009 00:52:18 +0000 (00:52 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Jan 2009 21:32:57 +0000 (21:32 +0000)
commit915ec1e216a5b009ba621b1c5b5be49c85685e53
treec56f83b68c763d0844dd85758a2553f41c5cb96c
parentc7c1e3846bac1e4b8a8941f6a194812e28b0a519
MIPS: atomic_*(): Change type of intermediate variables.

This shaves of 1912 bytes of an IP27 defconfig kernel and avoids
unexpected overflow behaviour in atomic_sub_if_positive.  Apply the same
changes to the atomic64_* functions for consistency.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/atomic.h