patch-2.4.4 linux/arch/sparc64/kernel/devices.c
Next file: linux/arch/sparc64/kernel/dtlb_prot.S
Previous file: linux/arch/sparc64/kernel/chmc.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Apr 26 22:17:25 2001
- Orig file:
v2.4.3/linux/arch/sparc64/kernel/devices.c
- Orig date:
Sun Mar 25 18:14:21 2001
diff -u --recursive --new-file v2.4.3/linux/arch/sparc64/kernel/devices.c linux/arch/sparc64/kernel/devices.c
@@ -77,6 +77,15 @@
prom_cpu_nodes[0] = prom_node_cpu;
+#ifndef CONFIG_SMP
+ {
+ extern unsigned long up_clock_tick;
+ up_clock_tick = prom_getintdefault(prom_node_cpu,
+ "clock-frequency",
+ 0);
+ }
+#endif
+
central_probe();
cpu_probe();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)