Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/arch/i386/i386 Pull up following revision(s) (request...
details: https://anonhg.NetBSD.org/src/rev/a4d3f2ec083a
branches: netbsd-6
changeset: 774062:a4d3f2ec083a
user: riz <riz%NetBSD.org@localhost>
date: Mon May 07 16:38:43 2012 +0000
description:
Pull up following revision(s) (requested by christos in ticket #221):
sys/arch/i386/i386/compat_16_machdep.c: revision 1.22
>From Bob Lee [glee at force10networks dot com], Preserve the have fpu context
bit for compat_16 signals, because the old 1.6 context does not deal with the
fpu.
diffstat:
sys/arch/i386/i386/compat_16_machdep.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r ba2a5051d5b9 -r a4d3f2ec083a sys/arch/i386/i386/compat_16_machdep.c
--- a/sys/arch/i386/i386/compat_16_machdep.c Mon May 07 16:37:19 2012 +0000
+++ b/sys/arch/i386/i386/compat_16_machdep.c Mon May 07 16:38:43 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_16_machdep.c,v 1.21 2010/11/06 11:40:24 uebayasi Exp $ */
+/* $NetBSD: compat_16_machdep.c,v 1.21.14.1 2012/05/07 16:38:43 riz Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.21 2010/11/06 11:40:24 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.21.14.1 2012/05/07 16:38:43 riz Exp $");
#ifdef _KERNEL_OPT
#include "opt_vm86.h"
@@ -260,7 +260,9 @@
/* NOTREACHED */
}
+ int svufpu = l->l_md.md_flags & MDL_USEDFPU;
buildcontext(l, sel, catcher, fp);
+ l->l_md.md_flags |= svufpu;
/* Remember that we're now on the signal stack. */
if (onstack)
Home |
Main Index |
Thread Index |
Old Index