Grant Grundler wrote: > On Sun, May 18, 2008 at 02:52:00AM +0200, Thibaut VARENE wrote: >> On Sat, May 17, 2008 at 5:26 PM, Grant Grundler >> wrote: >>> On Sat, May 17, 2008 at 03:20:46PM +0200, Thibaut VARENE wrote: >>>> Hi pa-ckers >>>> >>>> Just a quick failure report, I tested git head + jejb's zonelist patch >>>> on my A500 (gcc-4.2) and it hpmc'd the box (afaict) very early during >>>> bootup. I'll dig that more ASAP. >> Kyle eventually spotted the offending patch: >> http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git;a=commitdiff;h=bd3bb8c15b9a80dbddfb7905b237a4a11a4725b4;hp=492c2e476eac010962850006c49df326919b284c >> >> Out of this patch, the only two non-offending hunks are: >> diff --git a/arch/parisc/kernel/head.S b/arch/parisc/kernel/head.S >> index ec2482d..5680a2c 100644 (file) >> --- a/arch/parisc/kernel/head.S >> +++ b/arch/parisc/kernel/head.S >> @@ -32,7 +32,7 @@ ENTRY(boot_args) >> .word 0 /* arg3 */ >> END(boot_args) >> >> - .section .text.head >> + __HEAD >> .align 4 >> .import init_thread_union,data >> .import fault_vector_20,code /* IVA parisc 2.0 32 bit */ > > So I don't understand how __HEAD works...and all the other arches are > using ".text.head" (not .head.text) which has corresponding "code" in > their vmlinux.lds. Could someone kindly point out how .head.text > works for parisc? Yeah, my fault (no idea why it worked for me???). I see two options: 1) revert my patch (gets to linker warnings and have to build up a new patch, ideally adding a section for .text.head to vmlinux.lds.S), 2) apply the attached patch. Opinions? Helge