[PATCH] SCSI as module lossage in 2.5.1[56]

Christopher Hoover (ch@hpl.hp.com)
Mon, 20 May 2002 12:07:56 -0700


SCSI as a module (CONFIG_SCSI=m) loses in 2.5.1[56] because scsi_mod.o
needs drivers/block/ll_rw_blk.c:blk_max_pfn and that symbol isn't exported.

Fix below. Please apply.

-ch
Christopher Hoover
mailto:ch@hpl.hp.com
mailto:ch@murgatroid.com

diff -X dontdiff.txt -Naur linux-2.5.16.orig/drivers/block/ll_rw_blk.c linux-2.5.16/drivers/block/ll_rw_blk.c
--- linux-2.5.16.orig/drivers/block/ll_rw_blk.c Sat May 18 00:45:57 2002
+++ linux-2.5.16/drivers/block/ll_rw_blk.c Mon May 20 11:49:57 2002
@@ -1926,6 +1926,7 @@
EXPORT_SYMBOL(blkdev_release_request);
EXPORT_SYMBOL(generic_unplug_device);
EXPORT_SYMBOL(blk_attempt_remerge);
+EXPORT_SYMBOL(blk_max_pfn);
EXPORT_SYMBOL(blk_max_low_pfn);
EXPORT_SYMBOL(blk_queue_max_sectors);
EXPORT_SYMBOL(blk_queue_max_phys_segments);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/