kernel-2.3.1pre3: Another wq bug: drivers/block/ide.c

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Wed, 12 May 1999 23:24:01 -0400


This oopses when loading IDE CDs as modules:

--- linux/drivers/block/ide.c.dist-2.3.1pre3 Wed May 12 16:40:43 1999
+++ linux/drivers/block/ide.c Wed May 12 23:03:07 1999
@@ -211,6 +211,7 @@
drive->media = ide_disk;
drive->select.all = (unit<<4)|0xa0;
drive->hwif = hwif;
+ init_waitqueue_head(&drive->wqueue);
drive->ctl = 0x08;
drive->ready_stat = READY_STAT;
drive->bad_wstat = BAD_W_STAT;

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/