Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/x86 Revert previous; evt_set_pending() will set...



details:   https://anonhg.NetBSD.org/src/rev/4dce85080baf
branches:  trunk
changeset: 366588:4dce85080baf
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue May 31 14:21:44 2022 +0000

description:
Revert previous; evt_set_pending() will set ret to 1 if needed to this was
not our bug.

diffstat:

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

diffs (26 lines):

diff -r 345c9014a1ea -r 4dce85080baf sys/arch/xen/x86/hypervisor_machdep.c
--- a/sys/arch/xen/x86/hypervisor_machdep.c     Tue May 31 14:13:31 2022 +0000
+++ b/sys/arch/xen/x86/hypervisor_machdep.c     Tue May 31 14:21:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hypervisor_machdep.c,v 1.41 2022/05/31 12:52:59 bouyer Exp $   */
+/*     $NetBSD: hypervisor_machdep.c,v 1.42 2022/05/31 14:21:44 bouyer Exp $   */
 
 /*
  *
@@ -54,7 +54,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hypervisor_machdep.c,v 1.41 2022/05/31 12:52:59 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hypervisor_machdep.c,v 1.42 2022/05/31 14:21:44 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -208,7 +208,6 @@
         */
 
        while (vci->evtchn_upcall_pending) {
-               ret = 1;
                x86_disable_intr();
 
                vci->evtchn_upcall_pending = 0;



Home | Main Index | Thread Index | Old Index