linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Kaiser <rob@sysgo.de>
To: linux-kernel@vger.kernel.org
Subject: unresolved reference to hd_init (2.4.0-test10, ll_rw_blk.c)
Date: Mon, 6 Nov 2000 18:09:08 +0100	[thread overview]
Message-ID: <00110618154301.11022@rob> (raw)

Hi,

I just ran into a small problem trying to build the 2.4.0-test10 kernel with
only the "Old hard disk (MFM/RLL/IDE) driver" enabled. The following patch
fixed this for me, (though I'm not sure I haven't broken anything else with it).

diff -ur linux-2.4.0-test10/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
--- linux-2.4.0-test10/drivers/block/ll_rw_blk.c	Fri Oct 27 08:35:47 2000
+++ linux/drivers/block/ll_rw_blk.c	Mon Nov  6 17:34:39 2000
@@ -1063,7 +1063,7 @@
 #if defined(CONFIG_IDE) && defined(CONFIG_BLK_DEV_IDE)
 	ide_init();		/* this MUST precede hd_init */
 #endif
-#if defined(CONFIG_IDE) && defined(CONFIG_BLK_DEV_HD)
+#if defined(CONFIG_IDE) && defined(CONFIG_BLK_DEV_HD) && !defined(CONFIG_BLK_DEV_HD_ONLY)
 	hd_init();
 #endif
 #ifdef CONFIG_BLK_DEV_PS2


----------------------------------------------------------------
Robert Kaiser                         email: rkaiser@sysgo.de
SYSGO RTS GmbH
Am Pfaffenstein 14                    phone: (49) 6136 9948-762
D-55270 Klein-Winternheim / Germany   fax:   (49) 6136 9948-10
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

             reply	other threads:[~2000-11-06 17:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-06 17:09 Robert Kaiser [this message]
2000-11-06 17:28 ` unresolved reference to hd_init (2.4.0-test10, ll_rw_blk.c) Arjan van de Ven

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=00110618154301.11022@rob \
    --to=rob@sysgo.de \
    --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;
as well as URLs for NNTP newsgroup(s).