fw:Missing #ifdefs in genhd.c

mark (mlord@bnr.ca)
Tue, 11 Jul 1995 13:18:00 -0400


I have belatedly remembered that not everyone uses IDE drives. :)

Inside linux-1.3.9/drivers/block/genhd.c,
please change the two occurances of:

ide_xlate_1024(dev); /* harmless if not an IDE drive */

to this instead:

#ifdef CONFIG_BLK_DEV_IDE
ide_xlate_1024(dev); /* harmless if not an IDE drive */
#endif

The rest of the code can remain as-is, with no ill effects.

Cheers,
-ml