summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/delay.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-08-28 15:29:58 +0400
committerRalf Baechle <ralf@linux-mips.org>2009-09-17 22:07:41 +0400
commite3bf887d73309808d47c74f2f024d2497c8f7048 (patch)
tree158b7286a30b733c0e80249c21ec7270c3f75413 /arch/mips/include/asm/delay.h
parent79b520e87e1214cfa107bdc8528b5d6c055a8b82 (diff)
downloadlinux-e3bf887d73309808d47c74f2f024d2497c8f7048.tar.xz
MIPS: Fix potencial build error in <asm/delay.h>
<asm/delay.h> will break if HZ isn't defined. In 2.6.26 and later we're usually lucky ... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/delay.h')
-rw-r--r--arch/mips/include/asm/delay.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/delay.h b/arch/mips/include/asm/delay.h
index d2d8949be6b7..e7cd78277c23 100644
--- a/arch/mips/include/asm/delay.h
+++ b/arch/mips/include/asm/delay.h
@@ -11,6 +11,8 @@
#ifndef _ASM_DELAY_H
#define _ASM_DELAY_H
+#include <linux/param.h>
+
extern void __delay(unsigned int loops);
extern void __ndelay(unsigned int ns);
extern void __udelay(unsigned int us);