Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 we're already in an #ifdef USER_LDT block, ...



details:   https://anonhg.NetBSD.org/src/rev/469cc997c10b
branches:  trunk
changeset: 936113:469cc997c10b
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Jul 19 13:58:26 2020 +0000

description:
we're already in an #ifdef USER_LDT block, so no need to #ifdef again

diffstat:

 sys/arch/x86/x86/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bdb740c13e87 -r 469cc997c10b sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c   Sun Jul 19 13:55:08 2020 +0000
+++ b/sys/arch/x86/x86/pmap.c   Sun Jul 19 13:58:26 2020 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index