diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-01-09 10:23:00 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-01-10 20:02:23 +0000 |
commit | 6b4cd2755039a0be642699e3fc2e3386daa88151 (patch) | |
tree | 18510e13f705462ae9ce4dfbe697a708418a1c43 /arch/mips/philips/pnx8550/common | |
parent | f3a2c3ee458bd614231e548c13acb0cf33a68631 (diff) | |
download | kernel-crypto-6b4cd2755039a0be642699e3fc2e3386daa88151.tar.gz kernel-crypto-6b4cd2755039a0be642699e3fc2e3386daa88151.tar.xz kernel-crypto-6b4cd2755039a0be642699e3fc2e3386daa88151.zip |
[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/pnx8550/common')
-rw-r--r-- | arch/mips/philips/pnx8550/common/time.c | 1 |
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 f80acae07ce..68def3880a1 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 */ |