commit | d2dc13b5339c657e526c405888df69d99322a016 | [log] [tgz] |
---|---|---|
author | Wang Dongsheng <dongsheng.wang@freescale.com> | Mon Jan 06 13:23:31 2014 +0800 |
committer | Scott Wood <scottwood@freescale.com> | Thu Jan 09 17:52:14 2014 -0600 |
tree | 8c9c822cdeda7cc193a76c8fc5b4bc82d00d8d75 | |
parent | 0fd79588f9e4e544b2ef2b0265e62b4c04fc1003 [diff] |
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>