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 Ignore x86_delay, for xen



details:   https://anonhg.NetBSD.org/src/rev/6ae8339f6e52
branches:  trunk
changeset: 972217:6ae8339f6e52
user:      ad <ad%NetBSD.org@localhost>
date:      Tue May 19 21:56:51 2020 +0000

description:
Ignore x86_delay, for xen

diffstat:

 sys/arch/x86/x86/tsc.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 945141c2b0e5 -r 6ae8339f6e52 sys/arch/x86/x86/tsc.c
--- a/sys/arch/x86/x86/tsc.c    Tue May 19 21:54:10 2020 +0000
+++ b/sys/arch/x86/x86/tsc.c    Tue May 19 21:56:51 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tsc.c,v 1.45 2020/05/19 21:43:36 ad Exp $      */
+/*     $NetBSD: tsc.c,v 1.46 2020/05/19 21:56:51 ad Exp $      */
 
 /*-
  * Copyright (c) 2008, 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.45 2020/05/19 21:43:36 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tsc.c,v 1.46 2020/05/19 21:56:51 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -175,7 +175,6 @@
                invariant = false;
        } else if (vm_guest == VM_GUEST_NO) {
                delay_func = tsc_delay;
-               x86_delay = tsc_delay;
        }
 
        if (tsc_freq != 0) {



Home | Main Index | Thread Index | Old Index