Subject: Re: current build problem, linux_exec_setup_stack undeclared
To: None <>
From: Izumi Tsutsui <>
List: current-users
Date: 08/13/2003 19:13:06
In article <> wrote:

> >My compat/linux/arch/powerpc/linux_exec.h has this (updated last night):
> >#define linux_exec_setup_stack(a, b)	exec_setup_stack(a, b)
> >Changing this to
> >#define linux_exec_setup_stack	exec_setup_stack
> >allows a kernel to compile - I haven't been able to verify if this is
> >correct, though.
> Looks correct but the previous version should work. Can you look at the
> preprocessor output?

linux_exec_setup_stack is referred as a function pointer in exec_conf.c:
	/* Linux Elf32 */
	{ sizeof (Elf32_Ehdr),
	  linux_exec_setup_stack },
so the macro definition should not have args.
Izumi Tsutsui