MIPS: Fix potencial build error in <asm/delay.h>
authorRalf Baechle <ralf@linux-mips.org>
Fri, 28 Aug 2009 11:29:58 +0000 (12:29 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Sep 2009 18:07:41 +0000 (20:07 +0200)
<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>
arch/mips/include/asm/delay.h

index d2d8949..e7cd782 100644 (file)
@@ -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);