[svn-commits] sruffell: linux/trunk r5497 - /linux/trunk/drivers/dahdi/dahdi_dummy.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Dec 11 14:19:19 CST 2008


Author: sruffell
Date: Thu Dec 11 14:19:18 2008
New Revision: 5497

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5497
Log:
dahdi_dummy:  If we're using the system tick, don't use the hrtimer interface.

Modified:
    linux/trunk/drivers/dahdi/dahdi_dummy.c

Modified: linux/trunk/drivers/dahdi/dahdi_dummy.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi_dummy.c?view=diff&rev=5497&r1=5496&r2=5497
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi_dummy.c (original)
+++ linux/trunk/drivers/dahdi/dahdi_dummy.c Thu Dec 11 14:19:18 2008
@@ -220,8 +220,7 @@
 /* use kernel system tick timer if PC architecture RTC is not available */
 static void dahdi_dummy_timer(unsigned long param)
 {
-	hrtimer_set_expires(timer, jiffies + 1);
-	add_timer(&timer);
+	mod_timer(&timer, jiffies + 1);
 
 	ztd->counter += DAHDI_TIME;
 	while (ztd->counter >= HZ) {




More information about the svn-commits mailing list