[prev in list] [next in list] [prev in thread] [next in thread]
List: user-mode-linux-devel
Subject: Re: [uml-devel] another round of uml on ppc
From: Jeff Dike <jdike () karaya ! com>
Date: 2002-02-14 12:15:33
[Download RAW message or body]
rob@terizla.org 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
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic