Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 From Bob Lee [glee at force10networks dot...
details: https://anonhg.NetBSD.org/src/rev/a6ba88a6ab79
branches: trunk
changeset: 778966:a6ba88a6ab79
user: christos <christos%NetBSD.org@localhost>
date: Sun Apr 22 20:36:52 2012 +0000
description:
>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 923a419399d2 -r a6ba88a6ab79 sys/arch/i386/i386/compat_16_machdep.c
--- a/sys/arch/i386/i386/compat_16_machdep.c Sun Apr 22 19:42:23 2012 +0000
+++ b/sys/arch/i386/i386/compat_16_machdep.c Sun Apr 22 20:36:52 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.22 2012/04/22 20:36:52 christos 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.22 2012/04/22 20:36:52 christos 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