Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Release the kernel lock in upcallret() ...



details:   https://anonhg.NetBSD.org/src/rev/130757fa5800
branches:  trunk
changeset: 542315:130757fa5800
user:      pk <pk%NetBSD.org@localhost>
date:      Sun Jan 26 13:20:12 2003 +0000

description:
Release the kernel lock in upcallret() and startlwp().

diffstat:

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

diffs (25 lines):

diff -r aa92abc61d6d -r 130757fa5800 sys/arch/sparc/sparc/trap.c
--- a/sys/arch/sparc/sparc/trap.c       Sun Jan 26 13:15:17 2003 +0000
+++ b/sys/arch/sparc/sparc/trap.c       Sun Jan 26 13:20:12 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.130 2003/01/18 06:45:07 thorpej Exp $ */
+/*     $NetBSD: trap.c,v 1.131 2003/01/26 13:20:12 pk Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -271,6 +271,7 @@
 #endif
        pool_put(&lwp_uc_pool, uc);
 
+       KERNEL_PROC_UNLOCK(l);
        userret(l, l->l_md.md_tf->tf_pc, 0);
 }
 
@@ -282,6 +283,7 @@
        struct lwp *l;
 {
 
+       KERNEL_PROC_UNLOCK(l);
        userret(l, l->l_md.md_tf->tf_pc, 0);
 }
 



Home | Main Index | Thread Index | Old Index