[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <62a933db8d615bbc8b277fc7decb76964808795d.1280417117.git.siccegge@cs.fau.de>
Date: Thu, 29 Jul 2010 17:29:02 +0200
From: Christoph Egger <siccegge@...fau.de>
To: Jeff Dike <jdike@...toit.com>,
user-mode-linux-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Cc: vamos-dev@...informatik.uni-erlangen.de
Subject: [PATCH 2/3] Removing conditionalizing containing exactly the same
code
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@...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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists