Please find attached a small patch (against 2.4.10-pre6) which adds
missing EXPORT_SYMBOLs to genhd.c. Without it, modules such as
sd_mod.o are unable to load...
M.
--- vanilla/linux/drivers/block/genhd.c Sun Sep 9 20:03:21 2001
+++ linux/drivers/block/genhd.c Sun Sep 9 19:58:12 2001
@@ -16,7 +16,7 @@
#include <linux/kernel.h>
#include <linux/blk.h>
#include <linux/init.h>
-
+#include <linux/module.h>
struct gendisk *gendisk_head;
@@ -133,3 +133,8 @@
}
__initcall(device_init);
+
+EXPORT_SYMBOL(add_gendisk);
+EXPORT_SYMBOL(del_gendisk);
+EXPORT_SYMBOL(get_gendisk);
+
-- Places change, faces change. Life is so very strange. - 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/