Update of /cvsroot/alsa/alsa-kernel/core/seq
In directory sc8-pr-cvs1:/tmp/cvs-serv15624

Modified Files:
        seq_clientmgr.c seq_memory.c 
Log Message:
Cleanups for 2.5

Index: seq_clientmgr.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/seq/seq_clientmgr.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- seq_clientmgr.c     30 May 2003 12:28:33 -0000      1.21
+++ seq_clientmgr.c     30 May 2003 13:58:32 -0000      1.22
@@ -2454,9 +2454,7 @@
 
 static struct file_operations snd_seq_f_ops =
 {
-#ifndef LINUX_2_2
        .owner =        THIS_MODULE,
-#endif
        .read =         snd_seq_read,
        .write =        snd_seq_write,
        .open =         snd_seq_open,

Index: seq_memory.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/seq/seq_memory.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- seq_memory.c        8 Apr 2003 15:34:00 -0000       1.11
+++ seq_memory.c        30 May 2003 13:58:32 -0000      1.12
@@ -235,18 +235,7 @@
        while (pool->free == NULL && ! nonblock && ! pool->closing) {
 
                spin_unlock(&pool->lock);
-#ifdef LINUX_2_2
-               /* change semaphore to allow other clients
-                  to access device file */
-               if (file)
-                       up(&semaphore_of(file));
-#endif
                interruptible_sleep_on(&pool->output_sleep);
-#ifdef LINUX_2_2
-               /* restore semaphore again */
-               if (file)
-                       down(&semaphore_of(file));
-#endif
                spin_lock(&pool->lock);
                /* interrupted? */
                if (signal_pending(current)) {



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to