public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Missing exports in genhd.c in 2.4.10-pre
@ 2001-09-09 18:13 Marc ZYNGIER
  2001-09-10  1:29 ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Marc ZYNGIER @ 2001-09-09 18:13 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Missing exports in genhd.c in 2.4.10-pre
  2001-09-09 18:13 [PATCH] Missing exports in genhd.c in 2.4.10-pre Marc ZYNGIER
@ 2001-09-10  1:29 ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2001-09-10  1:29 UTC (permalink / raw)
  To: mzyngier; +Cc: torvalds, linux-kernel

On 09 Sep 2001 20:13:52 +0200, 
Marc ZYNGIER <mzyngier@freesurf.fr> wrote:
>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...

You need to add genhd.o to export-objs in drivers/block/Makefile as well.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-10  1:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-09 18:13 [PATCH] Missing exports in genhd.c in 2.4.10-pre Marc ZYNGIER
2001-09-10  1:29 ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox