Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/usermode/usermode Install signal handlers just afte...



details:   https://anonhg.NetBSD.org/src/rev/f3366ad570e1
branches:  trunk
changeset: 769273:f3366ad570e1
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Mon Sep 05 12:19:12 2011 +0000

description:
Install signal handlers just after pmap_bootstrap and don't defer it

diffstat:

 sys/arch/usermode/usermode/pmap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r a962862d5156 -r f3366ad570e1 sys/arch/usermode/usermode/pmap.c
--- a/sys/arch/usermode/usermode/pmap.c Mon Sep 05 12:19:09 2011 +0000
+++ b/sys/arch/usermode/usermode/pmap.c Mon Sep 05 12:19:12 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.54 2011/09/04 21:04:42 jmcneill Exp $ */
+/* $NetBSD: pmap.c,v 1.55 2011/09/05 12:19:12 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2011 Reinoud Zandijk <reinoud%NetBSD.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.54 2011/09/04 21:04:42 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.55 2011/09/05 12:19:12 reinoud Exp $");
 
 #include "opt_memsize.h"
 #include "opt_kmempages.h"
@@ -301,6 +301,8 @@
                (uint64_t) (free_end - (free_start + fpos))/1024/1024);
        aprint_debug("\t%"PRIu64" MB of kmem left\n",
                (uint64_t) (kmem_ext_end - kmem_ext_cur_end)/1024/1024);
+
+       setup_signal_handlers();
 }
 
 void
@@ -325,8 +327,6 @@
        /* create pmap pool */
        pool_init(&pmap_pool, sizeof(struct pmap), 0, 0, 0,
            "pmappool", NULL, IPL_NONE);
-
-       setup_signal_handlers();
 }
 
 pmap_t



Home | Main Index | Thread Index | Old Index