Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/amd64 Missing pmap_ldt_cleanup.
details: https://anonhg.NetBSD.org/src/rev/59dd2d1471ad
branches: trunk
changeset: 821435:59dd2d1471ad
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Feb 05 08:42:49 2017 +0000
description:
Missing pmap_ldt_cleanup.
diffstat:
sys/compat/linux/arch/amd64/linux_machdep.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 621fcdc7a03b -r 59dd2d1471ad sys/compat/linux/arch/amd64/linux_machdep.c
--- a/sys/compat/linux/arch/amd64/linux_machdep.c Sun Feb 05 08:36:08 2017 +0000
+++ b/sys/compat/linux/arch/amd64/linux_machdep.c Sun Feb 05 08:42:49 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_machdep.c,v 1.48 2014/02/19 20:50:56 dsl Exp $ */
+/* $NetBSD: linux_machdep.c,v 1.49 2017/02/05 08:42:49 maxv Exp $ */
/*-
* Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.48 2014/02/19 20:50:56 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.49 2017/02/05 08:42:49 maxv Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -84,6 +84,10 @@
struct pcb *pcb = lwp_getpcb(l);
struct trapframe *tf;
+#ifdef USER_LDT
+ pmap_ldt_cleanup(l);
+#endif
+
fpu_save_area_clear(l, __NetBSD_NPXCW__);
pcb->pcb_flags = 0;
Home |
Main Index |
Thread Index |
Old Index