From: Patrick Mansfield <patmans@us.ibm.com>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Christoph Hellwig <hch@lst.de>, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] current scsi-misc-2.5 scsi_lib.c needs init.h
Date: Thu, 5 Dec 2002 14:54:41 -0800 [thread overview]
Message-ID: <20021205145441.A10578@beaverton.ibm.com> (raw)
In-Reply-To: <200212052226.gB5MQjf05474@localhost.localdomain>; from James.Bottomley@SteelEye.com on Thu, Dec 05, 2002 at 04:26:45PM -0600
On Thu, Dec 05, 2002 at 04:26:45PM -0600, James Bottomley wrote:
> patmans@us.ibm.com said:
> > he current scsi-misc-2.5 scsi_lib.c needs to include init.h to get the
> > __init and __exit defined.
>
> not for me here. init.h seems to be pulled in via a long chain:
>
> from include/linux/profile.h:8,
> from include/asm/hw_irq.h:16,
> from include/linux/irq.h:69,
> from include/asm/hardirq.h:6,
> from include/linux/interrupt.h:9,
> from include/asm/highmem.h:24,
> from include/linux/highmem.h:12,
> from include/linux/bio.h:24,
> from drivers/scsi/scsi_lib.c:10:
>
> James
James -
It looks like CONFIG_HIGHEM changes that behaviour, my .config has:
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
highmem.h does not include asm/highmem.h unless #ifdef CONFIG_HIGHMEM.
I changed my config to use highmem 4g, and it compiled OK.
-- Patrick Mansfield
next prev parent reply other threads:[~2002-12-05 22:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-05 22:16 [PATCH] current scsi-misc-2.5 scsi_lib.c needs init.h Patrick Mansfield
2002-12-05 22:26 ` James Bottomley
2002-12-05 22:54 ` Patrick Mansfield [this message]
2002-12-05 22:58 ` Christoph Hellwig
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=20021205145441.A10578@beaverton.ibm.com \
--to=patmans@us.ibm.com \
--cc=James.Bottomley@SteelEye.com \
--cc=hch@lst.de \
--cc=linux-scsi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.