aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/philips
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-01-09 10:23:00 +0900
committerRalf Baechle <ralf@linux-mips.org>2007-01-10 20:02:23 +0000
commit6b4cd2755039a0be642699e3fc2e3386daa88151 (patch)
tree18510e13f705462ae9ce4dfbe697a708418a1c43 /arch/mips/philips
parentf3a2c3ee458bd614231e548c13acb0cf33a68631 (diff)
downloadkernel_samsung_aries-6b4cd2755039a0be642699e3fc2e3386daa88151.zip
kernel_samsung_aries-6b4cd2755039a0be642699e3fc2e3386daa88151.tar.gz
kernel_samsung_aries-6b4cd2755039a0be642699e3fc2e3386daa88151.tar.bz2
[MIPS] PNX8550: Fix system timer initialization
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/philips')
-rw-r--r--arch/mips/philips/pnx8550/common/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/philips/pnx8550/common/time.c b/arch/mips/philips/pnx8550/common/time.c
index f80acae..68def38 100644
--- a/arch/mips/philips/pnx8550/common/time.c
+++ b/arch/mips/philips/pnx8550/common/time.c
@@ -79,6 +79,7 @@ void pnx8550_time_init(void)
*/
mips_hpt_frequency = 27UL * ((1000000UL * n)/(m * pow2p));
cpj = (mips_hpt_frequency + HZ / 2) / HZ;
+ write_c0_count(0);
timer_ack();
/* Setup Timer 2 */