Missing exports in genhd.c in 2.4.10-pre
PATCH 1/1 Missing exports in genhd.c in 2.4.10-pre
Linus,
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.
drivers/block/genhd.c renamed from linux/drivers/block/genhd.c +6 -1
@@ -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); +
Signature · 1 line
Places change, faces change. Life is so very strange.
Quoted 3 lines · Marc ZYNGIER
Please find attached a small patch (against 2.4.10-pre6) which adds missing
EXPORT_SYMBOLstogenhd.c. Without it, modules such as sd_mod.o are unable to load...
You need to add genhd.o to export-objs in drivers/block/Makefile as well.