usbatm cxacru.c,1.26,1.27
kagan at infradead.org
kagan at infradead.org
Thu Apr 7 12:05:18 EDT 2005
Update of /home/cvs/usbatm
In directory phoenix.infradead.org:/tmp/cvs-serv21803
Modified Files:
cxacru.c
Log Message:
Replace the last reference to HZ with an explicit conversion from msecs.
Index: cxacru.c
===================================================================
RCS file: /home/cvs/usbatm/cxacru.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- cxacru.c 1 Apr 2005 13:20:51 -0000 1.26
+++ cxacru.c 7 Apr 2005 16:05:15 -0000 1.27
@@ -340,7 +340,7 @@
static void cxacru_do_timer_poll(struct cxacru_data *instance)
{
schedule_work(&instance->poll_work);
- mod_timer(&instance->poll_timer, jiffies + (5 * HZ));
+ mod_timer(&instance->poll_timer, jiffies + msecs_to_jiffies(5000));
}
static void cxacru_timer_poll(unsigned long data)
More information about the Usbatm-commits
mailing list