mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tomas Szepe <szepe@pinerecords.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.6.9-ac6 ide-disk.ko undefined symbols
Date: Thu, 4 Nov 2004 01:39:00 +0100	[thread overview]
Message-ID: <20041104003900.GA20525@louise.pinerecords.com> (raw)
In-Reply-To: <1099314945.18809.66.camel@localhost.localdomain>

On Nov-01 2004, Mon, 13:15 +0000
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> 2.6.9-ac6

*** Warning: "ide_drive_from_key" [drivers/ide/ide-disk.ko] undefined!
*** Warning: "ide_cfg_sem" [drivers/ide/ide-disk.ko] undefined!

This problem does not exist in vanilla 2.6.9.
Trivial fix follows -- tested, seems to work.

-- 
Tomas Szepe <szepe@pinerecords.com>


diff -urN a/drivers/ide/ide.c b/drivers/ide/ide.c
--- a/drivers/ide/ide.c	2004-11-04 01:26:11.000000000 +0100
+++ b/drivers/ide/ide.c	2004-11-04 01:25:28.000000000 +0100
@@ -175,6 +175,7 @@
 static int initializing;	/* set while initializing built-in drivers */
 
 DECLARE_MUTEX(ide_cfg_sem);
+EXPORT_SYMBOL(ide_cfg_sem);
 spinlock_t ide_lock __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;
 
 #ifdef CONFIG_BLK_DEV_IDEPCI
@@ -349,6 +350,8 @@
 	return ret;
 }
 
+EXPORT_SYMBOL(ide_drive_from_key);
+
 /*
  *	ide_drive_to_key	-	turn drive to persistent key
  *	@drive: drive to use

      reply	other threads:[~2004-11-04  0:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-01 13:15 Linux 2.6.9-ac6 Alan Cox
2004-11-04  0:39 ` Tomas Szepe [this message]

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=20041104003900.GA20525@louise.pinerecords.com \
    --to=szepe@pinerecords.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /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®