lkml.org 
[lkml]   [2001]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Missing exports in genhd.c in 2.4.10-pre
From
Date
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.

--- 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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.049 / U:15.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site