mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc ZYNGIER <mzyngier@freesurf.fr>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Missing exports in genhd.c in 2.4.10-pre
Date: 09 Sep 2001 20:13:52 +0200	[thread overview]
Message-ID: <wrplmjodyfz.fsf@hina.wild-wind.fr.eu.org> (raw)

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.

             reply	other threads:[~2001-09-09 18:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-09 18:13 Marc ZYNGIER [this message]
2001-09-10  1:29 ` Keith Owens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wrplmjodyfz.fsf@hina.wild-wind.fr.eu.org \
    --to=mzyngier@freesurf.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®