Remove #if 0 on USER_LDT.

This commit is contained in:
maxv 2017-02-05 08:52:11 +00:00
parent d0c8365f2c
commit 549eebb1a2
2 changed files with 6 additions and 6 deletions

View File

@ -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 @@ netbsd32_setregs(struct lwp *l, struct exec_package *pack, vaddr_t stack)
pcb = lwp_getpcb(l);
#if defined(USER_LDT) && 0
#if defined(USER_LDT)
pmap_ldt_cleanup(l);
#endif

View File

@ -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 @@ linux32_setregs(struct lwp *l, struct exec_package *pack, u_long stack)
struct trapframe *tf;
struct proc *p = l->l_proc;
#if defined(USER_LDT) && 0
#if defined(USER_LDT)
pmap_ldt_cleanup(l);
#endif