[svn-commits] fjoe: freebsd/trunk r8322 - /freebsd/trunk/freebsd/dahdi/bsd-compat.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Mar 10 09:55:54 CST 2010


Author: fjoe
Date: Wed Mar 10 09:55:51 2010
New Revision: 8322

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8322
Log:
Always use taskqueue_enqueue() instead of taskqueue_enqueue_fast().

Modified:
    freebsd/trunk/freebsd/dahdi/bsd-compat.c

Modified: freebsd/trunk/freebsd/dahdi/bsd-compat.c
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/freebsd/dahdi/bsd-compat.c?view=diff&rev=8322&r1=8321&r2=8322
==============================================================================
--- freebsd/trunk/freebsd/dahdi/bsd-compat.c (original)
+++ freebsd/trunk/freebsd/dahdi/bsd-compat.c Wed Mar 10 09:55:51 2010
@@ -62,7 +62,7 @@
 void
 tasklet_hi_schedule(struct tasklet_struct *t)
 {
-	taskqueue_enqueue_fast(taskqueue_fast, &t->task);
+	taskqueue_enqueue(taskqueue_fast, &t->task);
 }
 
 void
@@ -238,7 +238,7 @@
 void
 schedule_work(struct work_struct *work)
 {
-	taskqueue_enqueue_fast(taskqueue_fast, &work->task);
+	taskqueue_enqueue(taskqueue_fast, &work->task);
 }
 
 void
@@ -250,7 +250,7 @@
 void
 flush_scheduled_work(void)
 {
-	taskqueue_run_fast(taskqueue_fast);
+	taskqueue_run(taskqueue_fast);
 }
 
 struct workqueue_struct *
@@ -288,13 +288,13 @@
 void
 queue_work(struct workqueue_struct *wq, struct work_struct *work)
 {
-	taskqueue_enqueue_fast(wq->tq, &work->task);
+	taskqueue_enqueue(wq->tq, &work->task);
 }
 
 void
 flush_workqueue(struct workqueue_struct *wq)
 {
-	taskqueue_run_fast(wq->tq);
+	taskqueue_run(wq->tq);
 }
 
 /*




More information about the svn-commits mailing list