Update of /cvsroot/gc-linux/linux/arch/ppc/platforms
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31254/arch/ppc/platforms
Modified Files:
gamecube.c
Log Message:
fixed timer speed. the linux internal RTC is now correct.
Index: gamecube.c
===================================================================
RCS file: /cvsroot/gc-linux/linux/arch/ppc/platforms/gamecube.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- gamecube.c 2 Feb 2004 23:22:47 -0000 1.9
+++ gamecube.c 5 Feb 2004 12:33:11 -0000 1.10
@@ -130,7 +130,7 @@
void __init gamecube_calibrate_decr(void)
{
int freq, divisor;
- freq = 162000000 / 2;
+ freq = 162000000;
divisor = 4;
tb_ticks_per_jiffy = freq / HZ / divisor;
tb_to_us = mulhwu_scale_factor(freq/divisor, 1000000);
|