[PATCH 8/10] powerpc: Set entry point and text address in linker script
Michael Ellerman
michael at ellerman.id.au
Fri Oct 14 10:57:28 EST 2005
On Fri, 14 Oct 2005 02:35, Stephen Rothwell wrote:
> On Thu, 13 Oct 2005 18:42:22 +1000 (EST) Michael Ellerman
<michael at ellerman.id.au> wrote:
> > Currently we set the kernel entry point and the address of the text
> > section in the Makefile, using CONFIG_KERNEL_START.
> >
> > But we've already got <asm/page.h> in the linker script, so we can just
> > use KERNELBASE directly. That means if we ever change KERNELBASE there's
> > one less place to change it.
>
> So you should probably remove CONFIG_KERNEL_START from Kconfig if it is no
> longer used.
Unfortunately it's not quite that simple. Some of the PPC platforms use
CONFIG_KERNEL_START to set KERNELBASE to something different, so we
still need the config variable for them.
cheers
--
Michael Ellerman
IBM OzLabs
email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20051014/43e9e0b6/attachment.pgp
More information about the Linuxppc64-dev
mailing list