Update of /cvsroot/alsa/alsa-driver/pci/mixart
In directory sc8-pr-cvs1:/tmp/cvs-serv7711/pci/mixart

Modified Files:
        mixart_hwdep.c 
Log Message:
Added cond_resched() macro

Index: mixart_hwdep.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pci/mixart/mixart_hwdep.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mixart_hwdep.c      22 Jul 2003 13:39:10 -0000      1.1
+++ mixart_hwdep.c      30 Sep 2003 08:54:47 -0000      1.2
@@ -59,11 +59,7 @@
        do {    /* we may take too long time in this loop.
                 * so give controls back to kernel if needed.
                 */
-               if (need_resched()) {
-                       if (current->state != TASK_RUNNING)
-                               set_current_state(TASK_RUNNING);
-                       schedule();
-               }
+               cond_resched();
 
                read = readl_be( MIXART_MEM( mgr, offset ));
                if(is_egal) {



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to