vgavesa: fix race
This commit is contained in:
parent
b25e48b949
commit
1a82d67770
1 changed files with 4 additions and 0 deletions
|
@ -265,6 +265,10 @@ vesadisable(VGAscr *)
|
||||||
{
|
{
|
||||||
vesactl = Cdisable;
|
vesactl = Cdisable;
|
||||||
wakeup(&vesar);
|
wakeup(&vesar);
|
||||||
|
|
||||||
|
/* wait for vesaproc to finish */
|
||||||
|
qlock(&vesaq);
|
||||||
|
qunlock(&vesaq);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue