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 <sicce...@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


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to