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

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)