Module Name: src Committed By: maxv Date: Sun Jul 19 13:58:27 UTC 2020
Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: we're already in an #ifdef USER_LDT block, so no need to #ifdef again To generate a diff of this commit: cvs rdiff -u -r1.400 -r1.401 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x86/x86/pmap.c diff -u src/sys/arch/x86/x86/pmap.c:1.400 src/sys/arch/x86/x86/pmap.c:1.401 --- src/sys/arch/x86/x86/pmap.c:1.400 Tue Jul 14 00:45:53 2020 +++ src/sys/arch/x86/x86/pmap.c Sun Jul 19 13:58:26 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.400 2020/07/14 00:45:53 yamaguchi Exp $ */ +/* $NetBSD: pmap.c,v 1.401 2020/07/19 13:58:26 maxv Exp $ */ /* * Copyright (c) 2008, 2010, 2016, 2017, 2019, 2020 The NetBSD Foundation, Inc. @@ -130,7 +130,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.400 2020/07/14 00:45:53 yamaguchi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.401 2020/07/19 13:58:26 maxv Exp $"); #include "opt_user_ldt.h" #include "opt_lockdebug.h" @@ -3326,7 +3326,7 @@ pmap_ldt_xcall(void *arg1, void *arg2) kpreempt_disable(); pm = arg1; if (curcpu()->ci_pmap == pm) { -#if defined(SVS) && defined(USER_LDT) +#if defined(SVS) if (svs_enabled) { svs_ldt_sync(pm); } else