diff --git a/include/linux/delay.h b/include/linux/delay.h index fc57b1c8900af7c4fa662f7cb2b9d33770a41e1d..1ddf999dab421b686f5620543e6b0626c6a7270b 100644 --- a/include/linux/delay.h +++ b/include/linux/delay.h @@ -34,4 +34,8 @@ extern unsigned long loops_per_jiffy; ({unsigned long msec=(n); while (msec--) udelay(1000);})) #endif +#ifndef ndelay +#define ndelay(x) udelay(((x)+999)/1000) +#endif + #endif /* defined(_LINUX_DELAY_H) */