jiffies_to_msecs was added in 2.6.7 (and 2.4.29)
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 25 Jul 2005 02:09:33 +0000 (02:09 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 25 Jul 2005 02:09:33 +0000 (02:09 +0000)
include/linux/time.h

index a4db6eaa2407eb9431f82eb114ac9eab74350bef..fccbff54b2139f6c9ca026da4e8a8ecd7d306ce4 100644 (file)
@@ -6,7 +6,7 @@
 
 #include_next <linux/time.h>
 
-#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)
 {