patch-2.4.22 linux-2.4.22/arch/sh/lib/delay.c
Next file: linux-2.4.22/arch/sh/mm/Makefile
Previous file: linux-2.4.22/arch/sh/kernel/ubc.S
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/sh/lib/delay.c
- Orig date:
2001-01-28 18:56:00.000000000 -0800
diff -urN linux-2.4.21/arch/sh/lib/delay.c linux-2.4.22/arch/sh/lib/delay.c
@@ -33,3 +33,8 @@
{
__const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */
}
+
+void __ndelay(unsigned long nsecs)
+{
+ __const_udelay(nsecs * 5); /* 2**32 / 1000000000 (rounded up) */
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)