[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0904260934570.3101@localhost.localdomain>
Date: Sun, 26 Apr 2009 09:40:57 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Tim Abbott <tabbott@....EDU>
cc: Sam Ravnborg <sam@...nborg.org>,
Linux kernel mailing list <linux-kernel@...r.kernel.org>,
Anders Kaseorg <andersk@....EDU>,
Waseem Daher <wdaher@....EDU>,
Denys Vlasenko <vda.linux@...glemail.com>,
Rusty Russell <rusty@...tcorp.com.au>,
Andi Kleen <andi@...stfloor.org>,
"H. Peter Anvin" <hpa@...or.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Jeff Arnold <jbarnold@....EDU>,
Andrew Morton <akpm@...ux-foundation.org>,
Jon Masters <jonathan@...masters.org>,
Masami Hiramatsu <mhiramat@...hat.com>,
"Theodore Ts'o" <tytso@....EDU>,
Nikanth Karthikesan <knikanth@...e.de>,
Arjan van de Ven <arjan@...radead.org>,
Paul Mundt <lethal@...ux-sh.org>,
Américo Wang <xiyou.wangcong@...il.com>,
Ralf Baechle <ralf@...ux-mips.org>,
Kyle McMartin <kyle@...artin.ca>,
David Howells <dhowells@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>
Subject: Re: [PATCH 14/15] x86: convert to use __HEAD and HEAD_TEXT macros.
On Sat, 25 Apr 2009, Tim Abbott wrote:
>
> This has the consequence of changing the section name use for head
> code from ".text.head" to ".head.text". Since this commit changes all
> users in the architecture, this change should be harmless.
Btw, this one really needs to unify the two lds files first. Look at
diff -u arch/x86/boot/compressed/vmlinux_*.lds
output and realize that they're basially exctly the same except for
trivial naming differences, and the fact that the64-bit version hs a
"pgtable" thing.
So this really needs to be done by first unifying the thing so that there
is _one_ arch/x86/boot/compressed/vmlinux.lds.S file with a preprocessor
that takes care of the trivial differences, and then after that, the
".text.init" games should just be removed.
Notice the _removed_.
I don't think the compressed stuff has any actual "init" code. It is just
a blob loader that loads the compressed kernel. There should be no need
for the init sections being special, so the vmlinux.lds.S file should just
have a ".text*" section.
Hmm?
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists