Wang Dongsheng d2dc13b533 powerpc/mpic_timer: fix convert ticks to time subtraction overflow
In some cases tmp_sec may be greater than ticks, because in the process
of calculation ticks and tmp_sec will be rounded.

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2014-01-09 17:52:14 -06:00
..
2012-01-03 22:54:07 -05:00
2010-03-04 10:43:58 -06:00
2013-10-09 20:04:11 -05:00
2013-02-12 11:05:21 -06:00
2013-02-12 11:05:18 -06:00
2013-09-12 11:29:26 -07:00
2013-10-09 20:04:11 -05:00
2013-10-09 20:04:11 -05:00
2013-10-09 20:04:11 -05:00
2013-02-12 11:05:20 -06:00
2013-10-24 11:50:35 +01:00
2013-10-09 20:04:11 -05:00
2013-10-09 20:04:11 -05:00
2013-11-06 14:13:50 +11:00