projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b520e
)
MIPS: Fix potencial build error in <asm/delay.h>
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 28 Aug 2009 11:29:58 +0000
(12:29 +0100)
committer
Ralf 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
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/delay.h
b/arch/mips/include/asm/delay.h
index
d2d8949
..
e7cd782
100644
(file)
--- 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);