Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86_64/x86_64 Make this compile again.
details: https://anonhg.NetBSD.org/src/rev/40fd09c374e3
branches: trunk
changeset: 532960:40fd09c374e3
user: fvdl <fvdl%NetBSD.org@localhost>
date: Tue Jun 18 08:34:57 2002 +0000
description:
Make this compile again.
diffstat:
sys/arch/x86_64/x86_64/netbsd32_syscall.c | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r ad8902bf31c3 -r 40fd09c374e3 sys/arch/x86_64/x86_64/netbsd32_syscall.c
--- a/sys/arch/x86_64/x86_64/netbsd32_syscall.c Tue Jun 18 08:31:42 2002 +0000
+++ b/sys/arch/x86_64/x86_64/netbsd32_syscall.c Tue Jun 18 08:34:57 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_syscall.c,v 1.5 2002/06/17 16:33:21 christos Exp $ */
+/* $NetBSD: netbsd32_syscall.c,v 1.6 2002/06/18 08:34:57 fvdl Exp $ */
/*-
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -223,13 +223,24 @@
goto bad;
}
- if (KTRPOINT(p, KTR_SYSCALL) || ISSET(p->p_flag, P_SYSTRACE)) {
+#if defined(KTRACE) || defined(SYSTRACE)
+ if (
+#ifdef KTRACE
+ KTRPOINT(p, KTR_SYSCALL) ||
+#endif
+#ifdef SYSTRACE
+ ISSET(p->p_flag, P_SYSTRACE)
+#else
+ 0
+#endif
+ ) {
for (i = 0; i < (argsize >> 2); i++)
args64[i] = args[i];
/* XXX we need to pass argsize << 1 here? */
if ((error = trace_enter(p, code, args64, rval)) != 0)
goto bad;
}
+#endif
rval[0] = 0;
rval[1] = 0;
Home |
Main Index |
Thread Index |
Old Index