From: Jeff D. <jd...@ka...> - 2002-02-14 17:13:30
|
ro...@te... said: > I've been poking around, but i think i'm getting tripped up in header > files and can't get both a non-conflicting declaration for show_regs() > and a regs with a gpr[] member ( arch/um/sys-ppc/sysrq.c: 31 ) OK, the deal with this is that we want to pull in include/asm-ppc/ptrace.h from include/asm/ptrace.h, but we don't want the ppc pt_regs. So, include/asm/ptrace.h renames it with the '#define pt_regs pt_regs_subarch'. sigcontext-ppc does the same thing. The problem we saw was that the included header was pulling in processor.h which had its occurrences of pt_regs changed because it was inside that redefine. Jeff |