Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/nvmm/x86 nvmm_x86_vmx.c: remove an #ifdef DIAGNOSTIC...



details:   https://anonhg.NetBSD.org/src/rev/dc4510834b53
branches:  trunk
changeset: 366079:dc4510834b53
user:      tnn <tnn%NetBSD.org@localhost>
date:      Fri May 13 19:34:47 2022 +0000

description:
nvmm_x86_vmx.c: remove an #ifdef DIAGNOSTIC, it is wrong since r1.66

diffstat:

 sys/dev/nvmm/x86/nvmm_x86_vmx.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 5668241d5b38 -r dc4510834b53 sys/dev/nvmm/x86/nvmm_x86_vmx.c
--- a/sys/dev/nvmm/x86/nvmm_x86_vmx.c   Fri May 13 18:40:02 2022 +0000
+++ b/sys/dev/nvmm/x86/nvmm_x86_vmx.c   Fri May 13 19:34:47 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvmm_x86_vmx.c,v 1.82 2021/03/26 15:59:53 reinoud Exp $        */
+/*     $NetBSD: nvmm_x86_vmx.c,v 1.83 2022/05/13 19:34:47 tnn Exp $    */
 
 /*
  * Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_vmx.c,v 1.82 2021/03/26 15:59:53 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nvmm_x86_vmx.c,v 1.83 2022/05/13 19:34:47 tnn Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -134,7 +134,6 @@
        );
 }
 
-#ifdef DIAGNOSTIC
 static inline paddr_t
 vmx_vmptrst(void)
 {
@@ -149,7 +148,6 @@
 
        return pa;
 }
-#endif
 
 static inline void
 vmx_vmptrld(paddr_t *pa)



Home | Main Index | Thread Index | Old Index