Re: 2.6.20-rc6-mm1: linker error with arch_setup_additional_pages

2007-01-29 Thread Andrew Morton
On Mon, 29 Jan 2007 03:51:54 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: > > > I think the easy and correct fix for this situation is defining > > CONFIG_ARCH_HAS_SETUP_ADDITIONAL_PAGES on x86_64 only if > > IA32_EMULATION is defined. (Because x86_64 proper doesn't seem to > > require arch_setup_

Re: 2.6.20-rc6-mm1: linker error with arch_setup_additional_pages

2007-01-29 Thread Andi Kleen
> I think the easy and correct fix for this situation is defining > CONFIG_ARCH_HAS_SETUP_ADDITIONAL_PAGES on x86_64 only if > IA32_EMULATION is defined. (Because x86_64 proper doesn't seem to > require arch_setup_additional_pages() only IA32 emulation requires > it.) > > The patch below should fi

Re: 2.6.20-rc6-mm1: linker error with arch_setup_additional_pages

2007-01-28 Thread Parag Warudkar
On 1/28/07, Parag Warudkar <[EMAIL PROTECTED]> wrote: >CONFIG_BINFMT_ELF=y ># CONFIG_BINFMT_MISC is not set ># CONFIG_IA32_EMULATION is not set Hm Ok. That's explainable. You don't have CONFIG_IA32_EMULATION set and arch_setup_additional pages is only defined/exported in syscall32.c which won't

RE: 2.6.20-rc6-mm1: linker error with arch_setup_additional_pages

2007-01-28 Thread Parag Warudkar
CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_MISC is not set # CONFIG_IA32_EMULATION is not set Hm Ok. That's explainable. You don't have CONFIG_IA32_EMULATION set and arch_setup_additional pages is only defined/exported in syscall32.c which won't be built in your case. (It should go away if you set CONF