public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: const __init
Date: Sun, 20 May 2001 16:06:55 -0400	[thread overview]
Message-ID: <3B0823DF.E99BD0F8@mandrakesoft.com> (raw)
In-Reply-To: <Pine.LNX.4.05.10105202145520.1667-100000@callisto.of.borg>

Geert Uytterhoeven wrote:
> 
> Since a while include/linux/init.h contains the line
> 
>     * Also note, that this data cannot be "const".
> 
> Why is this? Because const data will be put in a different section?

Causes a "section type conflict" build error, at least on x86.


> FWIW, many sources still use __init for data, while it should be __initdata.

*blink* wow

-- 
Jeff Garzik      | "Do you have to make light of everything?!"
Building 1024    | "I'm extremely serious about nailing your
MandrakeSoft     |  step-daughter, but other than that, yes."

  reply	other threads:[~2001-05-20 20:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-20 19:51 const __init Geert Uytterhoeven
2001-05-20 20:06 ` Jeff Garzik [this message]
2001-05-20 20:11   ` Geert Uytterhoeven
2001-05-20 21:34     ` Jeff Garzik
2001-05-20 22:19       ` Ingo Oeser
2001-05-21  2:43         ` Richard Henderson
2001-05-21 12:41           ` Jamie Lokier
2001-05-21  3:07       ` Keith Owens
2001-05-21  7:51         ` Richard Henderson
2001-05-21 20:01           ` J . A . Magallon
2001-05-20 20:16 ` Franz Sirl
2001-05-21  0:58   ` Keith Owens
2001-05-20 22:05 ` Russell King

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=3B0823DF.E99BD0F8@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=geert@linux-m68k.org \
    --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