linux_old1/arch/mips/txx9
Atsushi Nemoto 740ebe4a54 MIPS: TXx9: Fix possible overflow in clock calculations
Addition of -fwrapv option in 2.6.29 discloses possible overflow with
signed arithmetics.  For example, result of "a * 6 / 12" (int a =
400000000) is 200000000 without -fwrapv but -157913941 with -fwrapv.

Change some variable to unsigned to avoid such overflows.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-05-14 13:50:27 +01:00
..
generic MIPS: TXx9: Fix possible overflow in clock calculations 2009-05-14 13:50:27 +01:00
jmr3927 MIPS: TXx9: IOC LED support 2008-10-11 16:18:49 +01:00
rbtx4927 MIPS: RBTX4927: Add GPIO-LED support 2008-10-30 14:44:33 +00:00
rbtx4938 [MTD] [NAND] TXx9: add NDFMC support 2009-03-20 18:07:39 +00:00
rbtx4939 MIPS: RBTX4939: Fix typo in system name 2009-05-14 13:50:26 +01:00
Kconfig MIPS: Enable GENERIC_HARDIRQS_NO__DO_IRQ for all platforms 2009-03-30 14:49:44 +02:00