projects
/
platform
/
kernel
/
linux-rpi.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
f80acae
..
68def38
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 */