Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include actually we shouldn't hold kernel_l...



details:   https://anonhg.NetBSD.org/src/rev/54917b073cfc
branches:  trunk
changeset: 534902:54917b073cfc
user:      chs <chs%NetBSD.org@localhost>
date:      Tue Aug 06 06:18:24 2002 +0000

description:
actually we shouldn't hold kernel_lock while calling postsig().

diffstat:

 sys/arch/powerpc/include/userret.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 05824f46c3b9 -r 54917b073cfc sys/arch/powerpc/include/userret.h
--- a/sys/arch/powerpc/include/userret.h        Tue Aug 06 06:17:50 2002 +0000
+++ b/sys/arch/powerpc/include/userret.h        Tue Aug 06 06:18:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: userret.h,v 1.1 2002/08/02 03:46:43 chs Exp $  */
+/*     $NetBSD: userret.h,v 1.2 2002/08/06 06:18:24 chs Exp $  */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -44,9 +44,7 @@
 
        /* Take pending signals. */
        while ((sig = CURSIG(p)) != 0) {
-               KERNEL_PROC_LOCK(p);
                postsig(sig);
-               KERNEL_PROC_UNLOCK(p);
        }
 
        pcb = &p->p_addr->u_pcb;



Home | Main Index | Thread Index | Old Index