diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-01-09 02:23:00 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-01-10 21:02:23 +0100 |
commit | 6b4cd2755039a0be642699e3fc2e3386daa88151 (patch) | |
tree | 18510e13f705462ae9ce4dfbe697a708418a1c43 /arch/mips | |
parent | Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/rolan... (diff) | |
download | linux-6b4cd2755039a0be642699e3fc2e3386daa88151.tar.xz linux-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')
-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 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 */ |