[PATCH] more up_and_exit() fixes.

From: David Woodhouse (dwmw2@infradead.org)
Date: Sat Nov 18 2000 - 13:30:22 EST


Index: drivers/media/video/msp3400.c
===================================================================
RCS file: /net/passion/inst/cvs/linux/drivers/media/video/Attic/msp3400.c,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 msp3400.c
--- drivers/media/video/msp3400.c 2000/11/15 12:15:02 1.1.2.2
+++ drivers/media/video/msp3400.c 2000/11/18 18:27:17
@@ -912,7 +912,7 @@
         msp->thread = NULL;

         if(msp->notify != NULL)
- up(msp->notify);
+ up_and_exit(msp->notify, 0);
         return 0;
 }

Index: drivers/media/video/tvaudio.c
===================================================================
RCS file: /net/passion/inst/cvs/linux/drivers/media/video/Attic/tvaudio.c,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 tvaudio.c
--- drivers/media/video/tvaudio.c 2000/11/15 12:15:02 1.1.2.1
+++ drivers/media/video/tvaudio.c 2000/11/18 18:27:19
@@ -291,7 +291,7 @@
         chip->thread = NULL;
         dprintk("%s: thread exiting\n", chip->c.name);
         if(chip->notify != NULL)
- up(chip->notify);
+ up_and_exit(chip->notify, 0);

         return 0;
 }

-- 
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:15 EST