diff options
Diffstat (limited to 'include/linux/delay.h')
-rw-r--r-- | include/linux/delay.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/delay.h b/include/linux/delay.h index fd832c6d419e..0e303d1aacd8 100644 --- a/include/linux/delay.h +++ b/include/linux/delay.h | |||
@@ -45,6 +45,12 @@ extern unsigned long lpj_fine; | |||
45 | void calibrate_delay(void); | 45 | void calibrate_delay(void); |
46 | void msleep(unsigned int msecs); | 46 | void msleep(unsigned int msecs); |
47 | unsigned long msleep_interruptible(unsigned int msecs); | 47 | unsigned long msleep_interruptible(unsigned int msecs); |
48 | void usleep_range(unsigned long min, unsigned long max); | ||
49 | |||
50 | static inline void usleep(unsigned long usecs) | ||
51 | { | ||
52 | usleep_range(usecs, usecs); | ||
53 | } | ||
48 | 54 | ||
49 | static inline void ssleep(unsigned int seconds) | 55 | static inline void ssleep(unsigned int seconds) |
50 | { | 56 | { |