Module Name: src Committed By: bouyer Date: Tue May 31 14:21:44 UTC 2022
Modified Files: src/sys/arch/xen/x86: hypervisor_machdep.c Log Message: Revert previous; evt_set_pending() will set ret to 1 if needed to this was not our bug. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/arch/xen/x86/hypervisor_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/xen/x86/hypervisor_machdep.c diff -u src/sys/arch/xen/x86/hypervisor_machdep.c:1.41 src/sys/arch/xen/x86/hypervisor_machdep.c:1.42 --- src/sys/arch/xen/x86/hypervisor_machdep.c:1.41 Tue May 31 12:52:59 2022 +++ src/sys/arch/xen/x86/hypervisor_machdep.c Tue May 31 14:21:44 2022 @@ -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 @@ stipending(void) */ while (vci->evtchn_upcall_pending) { - ret = 1; x86_disable_intr(); vci->evtchn_upcall_pending = 0;