Explorar o código

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>
Ralf Baechle %!s(int64=16) %!d(string=hai) anos
pai
achega
e3bf887d73
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      arch/mips/include/asm/delay.h

+ 2 - 0
arch/mips/include/asm/delay.h

@@ -11,6 +11,8 @@
 #ifndef _ASM_DELAY_H
 #ifndef _ASM_DELAY_H
 #define _ASM_DELAY_H
 #define _ASM_DELAY_H
 
 
+#include <linux/param.h>
+
 extern void __delay(unsigned int loops);
 extern void __delay(unsigned int loops);
 extern void __ndelay(unsigned int ns);
 extern void __ndelay(unsigned int ns);
 extern void __udelay(unsigned int us);
 extern void __udelay(unsigned int us);