X-Git-Url: https://git.openfabrics.org/?p=~emulex%2Ffor-vlad%2Fold%2Fcompat.git;a=blobdiff_plain;f=include%2Flinux%2Fcompat-2.6.36.h;h=806993b22ae5389a0475c8ebd4169a06c509d153;hp=0e3b77470ec66c1a9e9a70f9727c420f0d4c49a3;hb=6dae50166e03b355746a6d34d7c255c4abe9b97a;hpb=ec19f7ffdc262007a4b438c1bc105128039b2bd9 diff --git a/include/linux/compat-2.6.36.h b/include/linux/compat-2.6.36.h index 0e3b774..806993b 100644 --- a/include/linux/compat-2.6.36.h +++ b/include/linux/compat-2.6.36.h @@ -119,6 +119,7 @@ static inline void tty_unlock(void) __releases(kernel_lock) } #define tty_locked() (kernel_locked()) +#define usleep_range(_min, _max) msleep((_max) / 1000) #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)) */ #endif /* LINUX_26_36_COMPAT_H */