Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26 Garbage-collect pcb_onfault_lj, since it's un...



details:   https://anonhg.NetBSD.org/src/rev/3ded51845796
branches:  trunk
changeset: 514239:3ded51845796
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sun Aug 26 14:15:07 2001 +0000

description:
Garbage-collect pcb_onfault_lj, since it's unused and doesn't exist on
arm32 ports.

diffstat:

 sys/arch/arm26/arm26/except.c |  6 ++----
 sys/arch/arm26/include/pcb.h  |  3 +--
 2 files changed, 3 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r b70afebf6d9e -r 3ded51845796 sys/arch/arm26/arm26/except.c
--- a/sys/arch/arm26/arm26/except.c     Sun Aug 26 13:30:29 2001 +0000
+++ b/sys/arch/arm26/arm26/except.c     Sun Aug 26 14:15:07 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: except.c,v 1.36 2001/06/26 19:37:18 bjh21 Exp $ */
+/* $NetBSD: except.c,v 1.37 2001/08/26 14:15:07 bjh21 Exp $ */
 /*-
  * Copyright (c) 1998, 1999, 2000 Ben Harris
  * All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: except.c,v 1.36 2001/06/26 19:37:18 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: except.c,v 1.37 2001/08/26 14:15:07 bjh21 Exp $");
 
 #include "opt_cputypes.h"
 #include "opt_ddb.h"
@@ -427,8 +427,6 @@
                            (register_t)curpcb->pcb_onfault;
                        return;
                }
-               if (curpcb->pcb_onfault_lj != NULL)
-                       longjmp(curpcb->pcb_onfault_lj);
                trapsignal(p, SIGSEGV, va);
        }
 }
diff -r b70afebf6d9e -r 3ded51845796 sys/arch/arm26/include/pcb.h
--- a/sys/arch/arm26/include/pcb.h      Sun Aug 26 13:30:29 2001 +0000
+++ b/sys/arch/arm26/include/pcb.h      Sun Aug 26 14:15:07 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcb.h,v 1.4 2001/04/16 17:30:32 bjh21 Exp $ */
+/* $NetBSD: pcb.h,v 1.5 2001/08/26 14:15:08 bjh21 Exp $ */
 
 /*-
  * Copyright (c) 2000 Ben Harris
@@ -47,7 +47,6 @@
        struct  switchframe *pcb_sf;
        struct  fpframe pcb_ff;
        void    *pcb_onfault;  /* return here after failed page fault */
-       label_t *pcb_onfault_lj; /* longjmp here ditto */
 };
 
 /*



Home | Main Index | Thread Index | Old Index