vgavesa: fix race

This commit is contained in:
cinap_lenrek 2011-08-23 06:11:16 +02:00
parent b25e48b949
commit 1a82d67770

View file

@ -265,6 +265,10 @@ vesadisable(VGAscr *)
{
vesactl = Cdisable;
wakeup(&vesar);
/* wait for vesaproc to finish */
qlock(&vesaq);
qunlock(&vesaq);
}
static void