patch-2.3.48 linux/include/asm-mips/delay.h

Next file: linux/include/asm-mips/div64.h
Previous file: linux/include/asm-mips/dec/machtype.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/include/asm-mips/delay.h linux/include/asm-mips/delay.h
@@ -1,4 +1,4 @@
-/* $Id: delay.h,v 1.2 1999/01/04 16:09:20 ralf Exp $
+/* $Id: delay.h,v 1.3 1999/08/18 23:37:49 ralf Exp $
  *
  * This file is subject to the terms and conditions of the GNU General Public
  * License.  See the file "COPYING" in the main directory of this archive
@@ -7,10 +7,11 @@
  * Copyright (C) 1994 by Waldorf Electronics
  * Copyright (C) 1995 - 1998 by Ralf Baechle
  */
-#ifndef __ASM_MIPS_DELAY_H
-#define __ASM_MIPS_DELAY_H
+#ifndef _ASM_DELAY_H
+#define _ASM_DELAY_H
 
-extern __inline__ void __delay(int loops)
+extern __inline__ void
+__delay(unsigned long loops)
 {
 	__asm__ __volatile__ (
 		".set\tnoreorder\n"
@@ -49,4 +50,4 @@
 
 #define udelay(usecs) __udelay((usecs),__udelay_val)
 
-#endif /* __ASM_MIPS_DELAY_H */
+#endif /* _ASM_DELAY_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)