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 try to make this compile.



details:   https://anonhg.NetBSD.org/src/rev/99863e3eafee
branches:  trunk
changeset: 532904:99863e3eafee
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jun 17 21:07:40 2002 +0000

description:
try to make this compile.

diffstat:

 sys/arch/powerpc/powerpc/trap.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 26611a5b0699 -r 99863e3eafee sys/arch/powerpc/powerpc/trap.c
--- a/sys/arch/powerpc/powerpc/trap.c   Mon Jun 17 21:00:13 2002 +0000
+++ b/sys/arch/powerpc/powerpc/trap.c   Mon Jun 17 21:07:40 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.60 2002/06/17 16:33:15 christos Exp $       */
+/*     $NetBSD: trap.c,v 1.61 2002/06/17 21:07:40 christos Exp $       */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -287,7 +287,7 @@
                                params = args;
                        }
 
-                       if ((error = trace_enter(p, code, args, rval)) != 0)
+                       if ((error = trace_enter(p, code, params, rval)) != 0)
                                goto syscall_bad;
 
                        rval[0] = 0;
@@ -317,11 +317,10 @@
                                frame->cr |= 0x10000000;
                                break;
                        }
-
+                       KERNEL_PROC_UNLOCK(p);
+                       trace_exit(p, code, params, rval, error);
                }
-               KERNEL_PROC_UNLOCK(p);
 
-               trace_exit(p, code, args, rval, error);
 
                break;
 



Home | Main Index | Thread Index | Old Index