drop the big lock in upcallret() like all the other platforms do.

This commit is contained in:
chs 2005-01-03 00:03:25 +00:00
parent b1726c97c8
commit ddc6ab738a
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.105 2004/11/18 22:56:32 matt Exp $ */
/* $NetBSD: trap.c,v 1.106 2005/01/03 00:03:25 chs Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.105 2004/11/18 22:56:32 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.106 2005/01/03 00:03:25 chs Exp $");
#include "opt_altivec.h"
#include "opt_ddb.h"
@ -946,5 +946,6 @@ upcallret(struct lwp *l)
{
struct trapframe *frame = trapframe(l);
KERNEL_PROC_UNLOCK(l);
userret(l, frame);
}