On Tue, Jul 26, 2005 at 10:06:37PM -0700, Andrew Morton wrote: > "H. J. Lu" wrote: > > > > On Tue, Jul 26, 2005 at 09:53:23PM -0700, Andrew Morton wrote: > > > "H. J. Lu" 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. > > That would work. How about this patch? H.J.