Re: define-auxiliary-vector-size-at_vector_size.patch added to -mm tree

From: H. J. Lu
Date: Wed Jul 27 2005 - 00:00:32 EST


On Tue, Jul 26, 2005 at 09:53:23PM -0700, Andrew Morton wrote:
> "H. J. Lu" <hjl@xxxxxxxxx> wrote:
> >
> > My patch breaks x86_64 build. This patch will fix x86_64 build. I am
> > also enclosing the updated full patch.
>
> It now breaks ppc64
>
> include/asm/elf.h: In function `dump_task_regs':
> include/asm/elf.h:177: error: dereferencing pointer to incomplete type
>
> That's because pt_regs isn't known, because sched.h is including elf.h
> before pt_regs gets defined. This is a pretty fragile area I'm afraid.

Should we creat a new header file like auxvector.h? Auxiliary isn't
ELF specific anyway.


H.J.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/