aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-01-08 20:23:00 -0500
committerRalf Baechle <ralf@linux-mips.org>2007-01-10 15:02:23 -0500
commit6b4cd2755039a0be642699e3fc2e3386daa88151 (patch)
tree18510e13f705462ae9ce4dfbe697a708418a1c43 /arch
parentf3a2c3ee458bd614231e548c13acb0cf33a68631 (diff)
[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')
-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 f80acae07cee..68def3880a1c 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)
79 */ 79 */
80 mips_hpt_frequency = 27UL * ((1000000UL * n)/(m * pow2p)); 80 mips_hpt_frequency = 27UL * ((1000000UL * n)/(m * pow2p));
81 cpj = (mips_hpt_frequency + HZ / 2) / HZ; 81 cpj = (mips_hpt_frequency + HZ / 2) / HZ;
82 write_c0_count(0);
82 timer_ack(); 83 timer_ack();
83 84
84 /* Setup Timer 2 */ 85 /* Setup Timer 2 */