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 use ci_ipending instead of ci_istate.ipendi...



details:   https://anonhg.NetBSD.org/src/rev/6a0ce2827d42
branches:  trunk
changeset: 995346:6a0ce2827d42
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Dec 16 20:58:00 2018 +0000

description:
use ci_ipending instead of ci_istate.ipending, NFC

diffstat:

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

diffs (27 lines):

diff -r ca28cc887b1e -r 6a0ce2827d42 sys/arch/x86/x86/lapic.c
--- a/sys/arch/x86/x86/lapic.c  Sun Dec 16 18:53:34 2018 +0000
+++ b/sys/arch/x86/x86/lapic.c  Sun Dec 16 20:58:00 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lapic.c,v 1.67 2018/09/23 00:59:59 cherry Exp $        */
+/*     $NetBSD: lapic.c,v 1.68 2018/12/16 20:58:00 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 2000, 2008 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.67 2018/09/23 00:59:59 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.68 2018/12/16 20:58:00 jdolecek Exp $");
 
 #include "acpica.h"
 #include "ioapic.h"
@@ -535,7 +535,7 @@
                if (lapic_readreg(reg) & (1 << (LAPIC_TIMER_VECTOR % 32))) {
                        cur_timer -= lapic_tval;
                }
-       } else if (ci->ci_istate.ipending & (1 << LIR_TIMER))
+       } else if (ci->ci_ipending & (1 << LIR_TIMER))
                cur_timer = lapic_gettick() - lapic_tval;
        cur_timer = ci->ci_lapic_counter - cur_timer;
        splx(s);



Home | Main Index | Thread Index | Old Index