Go to the documentation of this file.
10 #include <linux/kernel.h>
14 #include <asm/delay.h>
27 #define MAX_UDELAY_MS 5
32 (__builtin_constant_p(n) && (n)<=MAX_UDELAY_MS) ? udelay((n)*1000) : \
33 ({unsigned long __ms=(n); while (__ms--) udelay(1000);}))
37 static inline void ndelay(
unsigned long x)
41 #define ndelay(x) ndelay(x)
46 void msleep(
unsigned int msecs);
50 static inline void ssleep(
unsigned int seconds)