提交 e3bf887d 编写于 作者: R Ralf Baechle

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: NRalf Baechle <ralf@linux-mips.org>
上级 79b520e8
...@@ -11,6 +11,8 @@ ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部