]> git.karo-electronics.de Git - linux-beck.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)
commit0fd79588f9e4e544b2ef2b0265e62b4c04fc1003
tree5fd2407e442696adcc1cafc498f5294e8311bd32
parent7f83a50ce3ae157619505d7c1464c0c4ff0db058
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