Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/powerpc Remove _LP64 since it's only used o...



details:   https://anonhg.NetBSD.org/src/rev/215a41a31ad2
branches:  trunk
changeset: 793887:215a41a31ad2
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Feb 28 05:41:59 2014 +0000

description:
Remove _LP64 since it's only used on 32-bit

diffstat:

 sys/arch/powerpc/powerpc/sigcode.S |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r d0388150e6b9 -r 215a41a31ad2 sys/arch/powerpc/powerpc/sigcode.S
--- a/sys/arch/powerpc/powerpc/sigcode.S        Fri Feb 28 05:41:21 2014 +0000
+++ b/sys/arch/powerpc/powerpc/sigcode.S        Fri Feb 28 05:41:59 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sigcode.S,v 1.7 2011/01/17 08:23:56 matt Exp $ */
+/*     $NetBSD: sigcode.S,v 1.8 2014/02/28 05:41:59 matt Exp $ */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -33,9 +33,9 @@
 
 #include <machine/asm.h>
 #include <machine/signal.h>
-#include <sys/syscall.h>
 
 #ifndef SIGCODE_NAME
+#include <sys/syscall.h>
 #define        SIGCODE_NAME    sigcode
 #define        ESIGCODE_NAME   esigcode
 #define        SIGRETURN_NAME  SYS_compat_16___sigreturn14
@@ -45,12 +45,8 @@
 #define SIGNAL_FRAMESIZE       0
 #endif
 #ifndef SIGCALLFRAMESIZE
-#ifdef _LP64
-#define        SIGCALLFRAMESIZE        32
-#else
 #define        SIGCALLFRAMESIZE        16
 #endif
-#endif
 
 /*
  * The following code gets copied to the top of the user stack on process



Home | Main Index | Thread Index | Old Index