Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc A successful kernel page fault shou...



details:   https://anonhg.NetBSD.org/src/rev/0df2c56fb0bf
branches:  trunk
changeset: 467596:0df2c56fb0bf
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Fri Mar 26 08:15:23 1999 +0000

description:
A successful kernel page fault should just return so that signal delivery
et al. should not executed.  (pr7240)

diffstat:

 sys/arch/powerpc/powerpc/trap.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e8a1aa85ddff -r 0df2c56fb0bf sys/arch/powerpc/powerpc/trap.c
--- a/sys/arch/powerpc/powerpc/trap.c   Fri Mar 26 08:00:38 1999 +0000
+++ b/sys/arch/powerpc/powerpc/trap.c   Fri Mar 26 08:15:23 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.19 1999/03/24 05:51:10 mrg Exp $    */
+/*     $NetBSD: trap.c,v 1.20 1999/03/26 08:15:23 tsubai Exp $ */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -103,7 +103,7 @@
                                ftype = VM_PROT_READ;
                        if (uvm_fault(map, trunc_page(va), 0, ftype)
                            == KERN_SUCCESS)
-                               break;
+                               return;
                        if (fb = p->p_addr->u_pcb.pcb_onfault) {
                                frame->srr0 = (*fb)[0];
                                frame->fixreg[1] = (*fb)[1];



Home | Main Index | Thread Index | Old Index