summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/delay.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-08-18 23:37:42 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-08-18 23:37:42 +0000
commit794ff4dc959a8dfef4f704ef6a5bb7334e421623 (patch)
tree9ea4d7f31e69420a29819a7e4c88e4097aa4380f /include/asm-mips/delay.h
parent8b92ed51419c907aa453c063b0afaefaef268c02 (diff)
- Drop support for 32/32 fp register model
- Fix siginfo structure definition - Ptrace fixes, one of them was an uninitialized pointer. - Header file fixes. - Fixes to linker scripts required for new binutils. - MIPS64. Chainsaw edition. Btw, Harald, why does the kernel no longer compile ...
Diffstat (limited to 'include/asm-mips/delay.h')
-rw-r--r--include/asm-mips/delay.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/asm-mips/delay.h b/include/asm-mips/delay.h
index 0f5660a83..3c4769a29 100644
--- a/include/asm-mips/delay.h
+++ b/include/asm-mips/delay.h
@@ -1,4 +1,4 @@
-/* $Id: delay.h,v 1.3 1998/10/27 21:46:33 ralf Exp $
+/* $Id: delay.h,v 1.2 1999/01/04 16:09:20 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 @@ extern __inline__ void __udelay(unsigned long usecs, unsigned long lps)
#define udelay(usecs) __udelay((usecs),__udelay_val)
-#endif /* __ASM_MIPS_DELAY_H */
+#endif /* _ASM_DELAY_H */