Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Remove #if 0 on USER_LDT.
details: https://anonhg.NetBSD.org/src/rev/0db448e76726
branches: trunk
changeset: 351185:0db448e76726
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Feb 05 08:52:11 2017 +0000
description:
Remove #if 0 on USER_LDT.
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 f25d0d014bdf -r 0db448e76726 sys/arch/amd64/amd64/netbsd32_machdep.c
--- a/sys/arch/amd64/amd64/netbsd32_machdep.c Sun Feb 05 08:42:49 2017 +0000
+++ b/sys/arch/amd64/amd64/netbsd32_machdep.c Sun Feb 05 08:52:11 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_machdep.c,v 1.98 2016/12/15 12:04:17 kamil Exp $ */
+/* $NetBSD: netbsd32_machdep.c,v 1.99 2017/02/05 08:52:11 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.98 2016/12/15 12:04:17 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.99 2017/02/05 08:52:11 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -115,7 +115,7 @@
pcb = lwp_getpcb(l);
-#if defined(USER_LDT) && 0
+#if defined(USER_LDT)
pmap_ldt_cleanup(l);
#endif
diff -r f25d0d014bdf -r 0db448e76726 sys/compat/linux32/arch/amd64/linux32_machdep.c
--- a/sys/compat/linux32/arch/amd64/linux32_machdep.c Sun Feb 05 08:42:49 2017 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_machdep.c Sun Feb 05 08:52:11 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_machdep.c,v 1.37 2016/09/02 07:51:05 maxv Exp $ */
+/* $NetBSD: linux32_machdep.c,v 1.38 2017/02/05 08:52:11 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.37 2016/09/02 07:51:05 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.38 2017/02/05 08:52:11 maxv Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -275,7 +275,7 @@
struct trapframe *tf;
struct proc *p = l->l_proc;
-#if defined(USER_LDT) && 0
+#if defined(USER_LDT)
pmap_ldt_cleanup(l);
#endif
Home |
Main Index |
Thread Index |
Old Index