patch-2.4.0-test6 linux/include/asm-sh/delay.h
Next file: linux/include/asm-sh/dma.h
Previous file: linux/include/asm-sh/bugs.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Aug 9 13:59:04 2000
- Orig file:
v2.4.0-test5/linux/include/asm-sh/delay.h
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.4.0-test5/linux/include/asm-sh/delay.h linux/include/asm-sh/delay.h
@@ -33,7 +33,7 @@
#ifdef CONFIG_SMP
#define __udelay_val cpu_data[smp_processor_id()].udelay_val
#else
-#define __udelay_val loops_per_sec
+#define __udelay_val (current_cpu_data.loops_per_sec)
#endif
#define udelay(usecs) __udelay((usecs),__udelay_val)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)