From: Christoph Egger on 29 Jul 2010 11:30 Found this because there's no PPC64 in um, however both branches of this ifdef contain the exactly same code (modulo comment). Signed-off-by: Christoph Egger <siccegge(a)cs.fau.de> --- arch/um/sys-ppc/shared/sysdep/ptrace.h | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/arch/um/sys-ppc/shared/sysdep/ptrace.h b/arch/um/sys-ppc/shared/sysdep/ptrace.h index 0e3230e..4ae9be9 100644 --- a/arch/um/sys-ppc/shared/sysdep/ptrace.h +++ b/arch/um/sys-ppc/shared/sysdep/ptrace.h @@ -9,11 +9,8 @@ /* the following taken from <asm-ppc/ptrace.h> */ -#ifdef CONFIG_PPC64 -#define PPC_REG unsigned long /*long*/ -#else #define PPC_REG unsigned long -#endif + struct sys_pt_regs_s { PPC_REG gpr[32]; PPC_REG nip; -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: [PATCH 3/3] Removing dead copy&paste code Next: 2.6.34 BUG on stopping md device |