]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mpic_timer: fix the time is not accurate caused by GTCRR toggle bit
authorWang Dongsheng <dongsheng.wang@freescale.com>
Mon, 6 Jan 2014 05:23:30 +0000 (13:23 +0800)
committerScott Wood <scottwood@freescale.com>
Thu, 9 Jan 2014 23:52:13 +0000 (17:52 -0600)
commit4c5670bef6afc609e52889c5973b230f9fd30687
tree5fd2407e442696adcc1cafc498f5294e8311bd32
parentab56e30719083c3dbaa564e6e37db0107e261670
powerpc/mpic_timer: fix the time is not accurate caused by GTCRR toggle bit

When the timer GTCCR toggle bit is inverted, we calculated the rest
of the time is not accurate. So we need to ignore this bit.

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/sysdev/mpic_timer.c