Wrong sleep addr passed to wakeup.
Submitted by: Vsevolod Lobko seva@sevasoft.alex-ua.com
This commit is contained in:
parent
5968e18b69
commit
5ef84cd20e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user