]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: Make sure _etext is after all kernel text
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Sep 2008 05:04:09 +0000 (15:04 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Sep 2008 10:53:26 +0000 (20:53 +1000)
commit303996dace16894710a5291327eeb79afdb8ed12
treeddabead31ca9d9b72dbc34fe6aaea9aa5436f00e
parent9e88ba4e45ecad2425c4cc4e0861a26f4e36c6da
powerpc: Make sure _etext is after all kernel text

This makes core_kernel_text() (and therefore kernel_text_address())
return the correct result.  Currently all the __devinit routines (at
least) will not be considered to be kernel text.

This is just a quick fix for 2.6.27 - hopefully we will be able to fix
this better in 2.6.28.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/vmlinux.lds.S