From: Atsushi Nemoto Date: Tue, 9 Jan 2007 01:23:00 +0000 (+0900) Subject: [MIPS] PNX8550: Fix system timer initialization X-Git-Tag: v2.6.20-rc5~26^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6b4cd2755039a0be642699e3fc2e3386daa88151;p=karo-tx-linux.git [MIPS] PNX8550: Fix system timer initialization Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- 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) */ mips_hpt_frequency = 27UL * ((1000000UL * n)/(m * pow2p)); cpj = (mips_hpt_frequency + HZ / 2) / HZ; + write_c0_count(0); timer_ack(); /* Setup Timer 2 */