Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha Move fp_complete() outside kernel lock ...
details: https://anonhg.NetBSD.org/src/rev/e58b11fb34ff
branches: trunk
changeset: 509094:e58b11fb34ff
user: ross <ross%NetBSD.org@localhost>
date: Thu Apr 26 04:21:35 2001 +0000
description:
Move fp_complete() outside kernel lock perimeter.
diffstat:
sys/arch/alpha/alpha/trap.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r a9226ff1c5e1 -r e58b11fb34ff sys/arch/alpha/alpha/trap.c
--- a/sys/arch/alpha/alpha/trap.c Thu Apr 26 04:18:32 2001 +0000
+++ b/sys/arch/alpha/alpha/trap.c Thu Apr 26 04:21:35 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.70 2001/04/26 03:10:45 ross Exp $ */
+/* $NetBSD: trap.c,v 1.71 2001/04/26 04:21:35 ross Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -99,7 +99,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.70 2001/04/26 03:10:45 ross Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.71 2001/04/26 04:21:35 ross Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -265,9 +265,7 @@
* NaNs, or denorms, and maintain FPCR corrections.
*/
if (user) {
- KERNEL_PROC_LOCK(p);
i = alpha_fp_complete(a0, a1, p, &ucode);
- KERNEL_PROC_UNLOCK(p);
if (i == 0)
goto out;
break;
Home |
Main Index |
Thread Index |
Old Index