projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a2c3e
)
[MIPS] PNX8550: Fix system timer initialization
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Tue, 9 Jan 2007 01:23:00 +0000
(10:23 +0900)
committer
Ralf 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
patch
|
blob
|
history
diff --git
a/arch/mips/philips/pnx8550/common/time.c
b/arch/mips/philips/pnx8550/common/time.c
index f80acae07ceecebb0927ca759f918ea484dc1d5a..68def3880a1cb137e56db72c977cf0d33534aff2 100644
(file)
--- 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 */