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 don't need signal trampolin version 1 i...



details:   https://anonhg.NetBSD.org/src/rev/31d0d229c956
branches:  trunk
changeset: 573192:31d0d229c956
user:      drochner <drochner%NetBSD.org@localhost>
date:      Fri Jan 21 15:50:42 2005 +0000

description:
don't need signal trampolin version 1 if we just do COMPAT_OSF1

diffstat:

 sys/arch/alpha/alpha/compat_16_machdep.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r d9501ca31765 -r 31d0d229c956 sys/arch/alpha/alpha/compat_16_machdep.c
--- a/sys/arch/alpha/alpha/compat_16_machdep.c  Fri Jan 21 15:49:43 2005 +0000
+++ b/sys/arch/alpha/alpha/compat_16_machdep.c  Fri Jan 21 15:50:42 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_16_machdep.c,v 1.4 2005/01/17 20:13:25 drochner Exp $ */
+/* $NetBSD: compat_16_machdep.c,v 1.5 2005/01/21 15:50:42 drochner Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -88,7 +88,7 @@
 #include <machine/cpu.h>
 #include <machine/reg.h>
 
-__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.4 2005/01/17 20:13:25 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.5 2005/01/21 15:50:42 drochner Exp $");
 
 
 #ifdef DEBUG
@@ -195,12 +195,13 @@
                             (void *)p->p_sigctx.ps_sigcode,
                             (void *)fp);
                break;
+#ifdef COMPAT_16
        case 1:
                buildcontext(l,(void *)catcher,
                             (void *)ps->sa_sigdesc[sig].sd_tramp,
                             (void *)fp);
                break;
-
+#endif
        default:
                /* Don't know what trampoline version; kill it. */
                sigexit(l, SIGILL);



Home | Main Index | Thread Index | Old Index