Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Make sure the 32bit LWPs don't have MDL_IRET set. That's...
details: https://anonhg.NetBSD.org/src/rev/48302211b898
branches: trunk
changeset: 356819:48302211b898
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Oct 15 11:36:15 2017 +0000
description:
Make sure the 32bit LWPs don't have MDL_IRET set. That's not a problem
right now, but will be in the future.
diffstat:
sys/arch/amd64/amd64/netbsd32_machdep.c | 6 +++---
sys/compat/linux32/arch/amd64/linux32_machdep.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r e58b8dc2d237 -r 48302211b898 sys/arch/amd64/amd64/netbsd32_machdep.c
--- a/sys/arch/amd64/amd64/netbsd32_machdep.c Sun Oct 15 11:31:00 2017 +0000
+++ b/sys/arch/amd64/amd64/netbsd32_machdep.c Sun Oct 15 11:36:15 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_machdep.c,v 1.109 2017/09/17 09:41:35 maxv Exp $ */
+/* $NetBSD: netbsd32_machdep.c,v 1.110 2017/10/15 11:36:15 maxv Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.109 2017/09/17 09:41:35 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.110 2017/10/15 11:36:15 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -132,7 +132,7 @@
netbsd32_adjust_limits(p);
- l->l_md.md_flags |= MDL_COMPAT32; /* Force iret not sysret */
+ l->l_md.md_flags = MDL_COMPAT32; /* Force iret not sysret */
pcb->pcb_flags = PCB_COMPAT32;
fpu_save_area_clear(l, pack->ep_osversion >= 699002600
diff -r e58b8dc2d237 -r 48302211b898 sys/compat/linux32/arch/amd64/linux32_machdep.c
--- a/sys/compat/linux32/arch/amd64/linux32_machdep.c Sun Oct 15 11:31:00 2017 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_machdep.c Sun Oct 15 11:36:15 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_machdep.c,v 1.39 2017/09/02 12:57:03 maxv Exp $ */
+/* $NetBSD: linux32_machdep.c,v 1.40 2017/10/15 11:36:15 maxv Exp $ */
/*-
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -31,7 +31,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.39 2017/09/02 12:57:03 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.40 2017/10/15 11:36:15 maxv Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -283,7 +283,7 @@
fpu_save_area_clear(l, __Linux_NPXCW__);
- l->l_md.md_flags |= MDL_COMPAT32; /* Forces iret not sysret */
+ l->l_md.md_flags = MDL_COMPAT32; /* Forces iret not sysret */
pcb->pcb_flags = PCB_COMPAT32;
p->p_flag |= PK_32;
Home |
Main Index |
Thread Index |
Old Index