Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/m68k/m68k adjust to new trace_{enter, exit} signatures.
details: https://anonhg.NetBSD.org/src/rev/64ebe1b6fae9
branches: trunk
changeset: 336610:64ebe1b6fae9
user: christos <christos%NetBSD.org@localhost>
date: Sat Mar 07 18:54:57 2015 +0000
description:
adjust to new trace_{enter,exit} signatures.
diffstat:
sys/arch/m68k/m68k/linux_syscall.c | 8 ++++----
sys/arch/m68k/m68k/m68k_syscall.c | 8 ++++----
sys/arch/m68k/m68k/sunos_syscall.c | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
diffs (104 lines):
diff -r 5bed9f997ee7 -r 64ebe1b6fae9 sys/arch/m68k/m68k/linux_syscall.c
--- a/sys/arch/m68k/m68k/linux_syscall.c Sat Mar 07 18:52:46 2015 +0000
+++ b/sys/arch/m68k/m68k/linux_syscall.c Sat Mar 07 18:54:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.c,v 1.23 2014/03/24 20:06:32 christos Exp $ */
+/* $NetBSD: linux_syscall.c,v 1.24 2015/03/07 18:54:57 christos Exp $ */
/*-
* Portions Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.23 2014/03/24 20:06:32 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.24 2015/03/07 18:54:57 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_execfmt.h"
@@ -216,7 +216,7 @@
break;
}
- if ((error = trace_enter(code, args, callp->sy_narg)) != 0)
+ if ((error = trace_enter(code, callp, args)) != 0)
goto out;
rval[0] = 0;
@@ -252,5 +252,5 @@
break;
}
- trace_exit(code, rval, error);
+ trace_exit(code, callp, args, rval, error);
}
diff -r 5bed9f997ee7 -r 64ebe1b6fae9 sys/arch/m68k/m68k/m68k_syscall.c
--- a/sys/arch/m68k/m68k/m68k_syscall.c Sat Mar 07 18:52:46 2015 +0000
+++ b/sys/arch/m68k/m68k/m68k_syscall.c Sat Mar 07 18:54:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: m68k_syscall.c,v 1.49 2013/10/25 20:45:35 martin Exp $ */
+/* $NetBSD: m68k_syscall.c,v 1.50 2015/03/07 18:54:57 christos Exp $ */
/*-
* Portions Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: m68k_syscall.c,v 1.49 2013/10/25 20:45:35 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: m68k_syscall.c,v 1.50 2015/03/07 18:54:57 christos Exp $");
#include "opt_execfmt.h"
#include "opt_compat_netbsd.h"
@@ -335,7 +335,7 @@
goto bad;
}
- if ((error = trace_enter(code, args, callp->sy_narg)) != 0)
+ if ((error = trace_enter(code, callp, args)) != 0)
goto out;
rval[0] = 0;
@@ -387,7 +387,7 @@
break;
}
- trace_exit(code, rval, error);
+ trace_exit(code, callp, args, rval, error);
}
void
diff -r 5bed9f997ee7 -r 64ebe1b6fae9 sys/arch/m68k/m68k/sunos_syscall.c
--- a/sys/arch/m68k/m68k/sunos_syscall.c Sat Mar 07 18:52:46 2015 +0000
+++ b/sys/arch/m68k/m68k/sunos_syscall.c Sat Mar 07 18:54:57 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos_syscall.c,v 1.22 2011/02/08 20:20:16 rmind Exp $ */
+/* $NetBSD: sunos_syscall.c,v 1.23 2015/03/07 18:54:57 christos Exp $ */
/*-
* Portions Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos_syscall.c,v 1.22 2011/02/08 20:20:16 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos_syscall.c,v 1.23 2015/03/07 18:54:57 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_execfmt.h"
@@ -273,7 +273,7 @@
goto bad;
}
- if ((error = trace_enter(code, args, callp->sy_narg)) != 0)
+ if ((error = trace_enter(code, callp, args)) != 0)
goto out;
rval[0] = 0;
@@ -315,5 +315,5 @@
frame->f_regs[SP] -= sizeof (int);
}
- trace_exit(code, rval, error);
+ trace_exit(code, callp, args, rval, error);
}
Home |
Main Index |
Thread Index |
Old Index