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

From: Christopher Hoover (ch@hpl.hp.com)
Date: Mon May 20 2002 - 14:07:56 EST


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/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:20 EST