mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Arjan van de Ven <arjanv@redhat.com>
Cc: Grzegorz Jaskiewicz <gj@pointblue.com.pl>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [BUG] vmalloc, kmalloc - 2.4.x
Date: 03 Feb 2003 22:52:39 +0000	[thread overview]
Message-ID: <1044312759.28409.28.camel@imladris.demon.co.uk> (raw)
In-Reply-To: <20030203153510.A21371@devserv.devel.redhat.com>

On Mon, 2003-02-03 at 15:35, Arjan van de Ven wrote:
> On Mon, Feb 03, 2003 at 03:35:57PM +0000, Grzegorz Jaskiewicz wrote:
> > On Mon, 2003-02-03 at 15:19, Arjan van de Ven wrote:
> > > > #include <linux/modversions.h>
> > > don't do that. ever.
> > why ?
> 
> because if you ever need it, modules.h will automatically include
> it for you already. And if it doesn't you don't need it and it does more
> harm than good.

Is that true? I thought the kernel build system added it with the
-include argument to gcc? And so it works properly _only_ if you're
using the correct way of building out-of-tree modules, which as
discussed recently on this list is

	make -C $LINUXDIR SUBDIRS=`pwd`

where LINUXDIR defaults to /lib/modules/`uname -r`/build unless the user
specifies otherwise.

Some distributions ship a kernel-source package which is broken and does
not work like this. File that as a bug if you encounter it.

/me runs from Arjan :)

-- 
dwmw2


  reply	other threads:[~2003-02-03 22:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-03 15:13 Grzegorz Jaskiewicz
2003-02-03 15:19 ` Oliver Neukum
2003-02-03 15:19 ` Arjan van de Ven
2003-02-03 15:35   ` Grzegorz Jaskiewicz
2003-02-03 15:35     ` Arjan van de Ven
2003-02-03 22:52       ` David Woodhouse [this message]
2003-02-03 15:22 ` Arjan van de Ven
2003-02-03 15:42   ` Grzegorz Jaskiewicz
2003-02-03 15:52     ` Russell King
2003-02-03 15:58       ` Arnaldo Carvalho de Melo
2003-02-03 16:07       ` Grzegorz Jaskiewicz
2003-02-03 15:39 ` Richard B. Johnson
     [not found] <1044284924.2402.12.camel@gregs>
     [not found] ` <1044289102.21009.1.camel@irongate.swansea.linux.org.uk>
2003-02-03 15:40   ` Grzegorz Jaskiewicz
2003-02-03 15:40   ` Grzegorz Jaskiewicz
2003-02-03 17:02     ` Benjamin Herrenschmidt
2003-02-03 17:18     ` Alan Cox
2003-02-03 22:54       ` David Woodhouse
2003-02-04  9:35         ` Arjan van de Ven
2003-02-04 12:33         ` Dave Jones

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=1044312759.28409.28.camel@imladris.demon.co.uk \
    --to=dwmw2@infradead.org \
    --cc=arjanv@redhat.com \
    --cc=gj@pointblue.com.pl \
    --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®