Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 22 Feb 1999 09:37:25 +0000 (09:37 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 22 Feb 1999 09:37:25 +0000 (09:37 +0000)
1999-02-21  David S. Miller  <davem@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
parentheses in Feb 2 changes.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.

ChangeLog
sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h

index 772d785..0c1e0f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-02-21  David S. Miller  <davem@redhat.com>
+
+       * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
+       parentheses in Feb 2 changes.
+       * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
+
 1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
        * sysdeps/generic/glob.c (glob): Save previous errno.
index a5a7428..24629d3 100644 (file)
@@ -18,8 +18,8 @@
    Boston, MA 02111-1307, USA.  */
 
 #define SIGCONTEXT __siginfo_t *
-#define GET_PC(ctx)    ((void *) ctx->si_regs.pc)
-#define ADVANCE_STACK_FRAME(next) \
-       ((void *)&((struct reg_window *) (next)->ins[6]))
-#define GET_STACK(ctx) ((void *) ctx->si_regs.u_regs[14])
-#define GET_FRAME(ctx) ADVANCE_STACK_FRAME (GET_STACK(ctx))
+#define GET_PC(__ctx)  ((void *) ((__ctx)->si_regs.pc))
+#define ADVANCE_STACK_FRAME(__next) \
+       ((void *)&(((struct reg_window *) (__next))->ins[6]))
+#define GET_STACK(__ctx)       ((void *) (__ctx)->si_regs.u_regs[14])
+#define GET_FRAME(__ctx)       ADVANCE_STACK_FRAME (GET_STACK(__ctx))
index 260658a..d174c9e 100644 (file)
@@ -21,9 +21,9 @@
 #define STACK_BIAS 2047
 #endif
 #define SIGCONTEXT __siginfo_t *
-#define GET_PC(ctx)    ((void *) ctx->si_regs.tpc)
-#define ADVANCE_STACK_FRAME(next) \
-       ((void *) &((struct reg_window *) (((unsigned long int) next)         \
+#define GET_PC(__ctx)  ((void *) ((__ctx)->si_regs.tpc))
+#define ADVANCE_STACK_FRAME(__next) \
+       ((void *) &((struct reg_window *) (((unsigned long int) (__next))     \
                                           + STACK_BIAS))->ins[6])
-#define GET_STACK(ctx) ((void *) ctx->si_regs.u_regs[14])
-#define GET_FRAME(ctx) ADVANCE_STACK_FRAME (GET_STACK (ctx))
+#define GET_STACK(__ctx)       ((void *) ((__ctx)->si_regs.u_regs[14]))
+#define GET_FRAME(__ctx)       ADVANCE_STACK_FRAME (GET_STACK (__ctx))