patch-2.4.22 linux-2.4.22/arch/ppc/platforms/pmac_time.c
Next file: linux-2.4.22/arch/ppc/platforms/pplus_pci.c
Previous file: linux-2.4.22/arch/ppc/platforms/pmac_smp.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/ppc/platforms/pmac_time.c
- Orig date:
2003-06-13 07:51:31.000000000 -0700
diff -urN linux-2.4.21/arch/ppc/platforms/pmac_time.c linux-2.4.22/arch/ppc/platforms/pmac_time.c
@@ -63,7 +63,7 @@
#ifdef CONFIG_NVRAM
s32 delta = 0;
int dst;
-
+
delta = ((s32)pmac_xpram_read(PMAC_XPRAM_MACHINE_LOC + 0x9)) << 16;
delta |= ((s32)pmac_xpram_read(PMAC_XPRAM_MACHINE_LOC + 0xa)) << 8;
delta |= pmac_xpram_read(PMAC_XPRAM_MACHINE_LOC + 0xb);
@@ -204,7 +204,7 @@
tb_ticks_per_jiffy, dstart - dend);
iounmap((void *)via);
-
+
return 1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)