]> err.no Git - linux-2.6/commitdiff
[MIPS] PNX8550: Fix system timer initialization
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 9 Jan 2007 01:23:00 +0000 (10:23 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 10 Jan 2007 20:02:23 +0000 (20:02 +0000)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/philips/pnx8550/common/time.c

index f80acae07ceecebb0927ca759f918ea484dc1d5a..68def3880a1cb137e56db72c977cf0d33534aff2 100644 (file)
@@ -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 */