aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-08-28 12:29:58 +0100
committerRalf Baechle <ralf@linux-mips.org>2009-09-17 20:07:41 +0200
commite3bf887d73309808d47c74f2f024d2497c8f7048 (patch)
tree158b7286a30b733c0e80249c21ec7270c3f75413 /arch
parent79b520e87e1214cfa107bdc8528b5d6c055a8b82 (diff)
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')
-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 d2d8949be6b..e7cd78277c2 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);