Wrong sleep addr passed to wakeup.

Submitted by:	Vsevolod Lobko	seva@sevasoft.alex-ua.com
This commit is contained in:
Luoqi Chen 1999-08-30 18:35:31 +00:00
parent 5968e18b69
commit 5ef84cd20e
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ static struct atapicmd *atapi_alloc (struct atapi *ata)
static void atapi_free (struct atapi *ata, struct atapicmd *ac)
{
if (! ata->free)
wakeup ((caddr_t)&ata);
wakeup ((caddr_t)ata);
ac->busy = 0;
ac->next = ata->free;
ata->free = ac;