From: Frank Mori Hess Date: Mon, 25 Jul 2005 02:09:33 +0000 (+0000) Subject: jiffies_to_msecs was added in 2.6.7 (and 2.4.29) X-Git-Tag: branch-0_7-end~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9912f019512c19fd9e0587db309db7f23aced512;p=comedi.git jiffies_to_msecs was added in 2.6.7 (and 2.4.29) --- diff --git a/include/linux/time.h b/include/linux/time.h index a4db6eaa..fccbff54 100644 --- a/include/linux/time.h +++ b/include/linux/time.h @@ -6,7 +6,7 @@ #include_next -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,29) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,29) || ( LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,7) ) static inline unsigned int jiffies_to_msecs(const unsigned long j) {