]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ddc28ba1bcb8d813fbafd6dae115ccef8c0d6e1
treec56f83b68c763d0844dd85758a2553f41c5cb96c
parent44e424c4e461a6d27ced414378400e3865fbd3fa
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