Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/alpha Fix syscall_intern after systrace (HI C...



details:   https://anonhg.NetBSD.org/src/rev/7b955233afe1
branches:  trunk
changeset: 532998:7b955233afe1
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jun 18 18:30:15 2002 +0000

description:
Fix syscall_intern after systrace (HI CHRISTOS!)

diffstat:

 sys/arch/alpha/alpha/linux_syscall.c |  10 +++++-----
 sys/arch/alpha/alpha/osf1_syscall.c  |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (78 lines):

diff -r 348c94f5a121 -r 7b955233afe1 sys/arch/alpha/alpha/linux_syscall.c
--- a/sys/arch/alpha/alpha/linux_syscall.c      Tue Jun 18 17:45:13 2002 +0000
+++ b/sys/arch/alpha/alpha/linux_syscall.c      Tue Jun 18 18:30:15 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.c,v 1.6 2002/06/17 16:32:58 christos Exp $ */
+/* $NetBSD: linux_syscall.c,v 1.7 2002/06/18 18:30:15 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -102,7 +102,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.6 2002/06/17 16:32:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscall.c,v 1.7 2002/06/18 18:30:15 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -141,17 +141,17 @@
 
 #ifdef KTRACE
        if (p->p_traceflag & (KTRFAC_SYSCALL | KTRFAC_SYSRET)) {
-               p->p_md.md_syscall = syscall_fancy;
+               p->p_md.md_syscall = linux_syscall_fancy;
                return;
        }
 #endif
 #ifdef SYSTRACE
        if (ISSET(p->p_flag, P_SYSTRACE)) {
-               p->p_md.md_syscall = syscall_fancy;
+               p->p_md.md_syscall = linux_syscall_fancy;
                return;
        } 
 #endif
-       p->p_md.md_syscall = syscall_plain;
+       p->p_md.md_syscall = linux_syscall_plain;
 }
 
 /*
diff -r 348c94f5a121 -r 7b955233afe1 sys/arch/alpha/alpha/osf1_syscall.c
--- a/sys/arch/alpha/alpha/osf1_syscall.c       Tue Jun 18 17:45:13 2002 +0000
+++ b/sys/arch/alpha/alpha/osf1_syscall.c       Tue Jun 18 18:30:15 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_syscall.c,v 1.8 2002/06/17 16:32:58 christos Exp $ */
+/* $NetBSD: osf1_syscall.c,v 1.9 2002/06/18 18:30:15 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -102,7 +102,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.8 2002/06/17 16:32:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_syscall.c,v 1.9 2002/06/18 18:30:15 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -137,17 +137,17 @@
 {
 #ifdef KTRACE
        if (p->p_traceflag & (KTRFAC_SYSCALL | KTRFAC_SYSRET)) {
-               p->p_md.md_syscall = syscall_fancy;
+               p->p_md.md_syscall = osf1_syscall_fancy;
                return;
        }
 #endif
 #ifdef SYSTRACE
        if (ISSET(p->p_flag, P_SYSTRACE)) {
-               p->p_md.md_syscall = syscall_fancy;
+               p->p_md.md_syscall = osf1_syscall_fancy;
                return;
        } 
 #endif
-       p->p_md.md_syscall = syscall_plain;
+       p->p_md.md_syscall = osf1_syscall_plain;
 }
 
 /*



Home | Main Index | Thread Index | Old Index