1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

YAMFsio.c (always call ttwwakeup() before returning from comstart()).

This commit is contained in:
Bruce Evans 1997-12-28 06:23:03 +00:00
parent e932603093
commit abee4d9808
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32045
3 changed files with 6 additions and 3 deletions

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: cy.c,v 1.57 1997/12/06 13:22:26 bde Exp $
* $Id: cy.c,v 1.58 1997/12/16 17:39:59 eivind Exp $
*/
#include "opt_compat.h"
@ -2105,6 +2105,7 @@ comstart(tp)
}
enable_intr();
if (tp->t_state & (TS_TIMEOUT | TS_TTSTOP)) {
ttwwakeup(tp);
splx(s);
return;
}

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: cy.c,v 1.57 1997/12/06 13:22:26 bde Exp $
* $Id: cy.c,v 1.58 1997/12/16 17:39:59 eivind Exp $
*/
#include "opt_compat.h"
@ -2105,6 +2105,7 @@ comstart(tp)
}
enable_intr();
if (tp->t_state & (TS_TIMEOUT | TS_TTSTOP)) {
ttwwakeup(tp);
splx(s);
return;
}

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: cy.c,v 1.57 1997/12/06 13:22:26 bde Exp $
* $Id: cy.c,v 1.58 1997/12/16 17:39:59 eivind Exp $
*/
#include "opt_compat.h"
@ -2105,6 +2105,7 @@ comstart(tp)
}
enable_intr();
if (tp->t_state & (TS_TIMEOUT | TS_TTSTOP)) {
ttwwakeup(tp);
splx(s);
return;
}