lkml.org 
[lkml]   [2000]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] more up_and_exit() fixes.

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/

\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.048 / U:29.868 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site