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 Temporary back to lapic_initclocks() from l...



details:   https://anonhg.NetBSD.org/src/rev/13976dd68f68
branches:  trunk
changeset: 1010255:13976dd68f68
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed May 20 02:23:35 2020 +0000

description:
Temporary back to lapic_initclocks() from lapci_reset() to avoid compile
error.

diffstat:

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

diffs (27 lines):

diff -r 7360892c1abf -r 13976dd68f68 sys/arch/x86/x86/lapic.c
--- a/sys/arch/x86/x86/lapic.c  Tue May 19 22:22:15 2020 +0000
+++ b/sys/arch/x86/x86/lapic.c  Wed May 20 02:23:35 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lapic.c,v 1.79 2020/05/19 21:39:11 ad Exp $    */
+/*     $NetBSD: lapic.c,v 1.80 2020/05/20 02:23:35 msaitoh Exp $       */
 
 /*-
  * Copyright (c) 2000, 2008, 2020 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.79 2020/05/19 21:39:11 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.80 2020/05/20 02:23:35 msaitoh Exp $");
 
 #include "acpica.h"
 #include "ioapic.h"
@@ -746,7 +746,7 @@
        while (deltat > 0) {
                xtick = lapic_gettick();
                if (lapic_broken_periodic && xtick == 0 && otick == 0) {
-                       lapic_reset();
+                       lapic_initclocks();
                        xtick = lapic_gettick();
                        if (xtick == 0)
                                panic("lapic timer stopped ticking");



Home | Main Index | Thread Index | Old Index