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 invert buggy ci_flag test
details: https://anonhg.NetBSD.org/src/rev/4560c307f53a
branches: trunk
changeset: 768374:4560c307f53a
user: cherry <cherry%NetBSD.org@localhost>
date: Mon Aug 15 20:17:12 2011 +0000
description:
invert buggy ci_flag test
diffstat:
sys/arch/xen/x86/xen_ipi.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r cbb0fe001520 -r 4560c307f53a sys/arch/xen/x86/xen_ipi.c
--- a/sys/arch/xen/x86/xen_ipi.c Mon Aug 15 20:14:52 2011 +0000
+++ b/sys/arch/xen/x86/xen_ipi.c Mon Aug 15 20:17:12 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xen_ipi.c,v 1.3 2011/08/10 20:38:45 cherry Exp $ */
+/* $NetBSD: xen_ipi.c,v 1.4 2011/08/15 20:17:12 cherry Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -33,10 +33,10 @@
/*
* Based on: x86/ipi.c
- * __KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.3 2011/08/10 20:38:45 cherry Exp $");
+ * __KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.4 2011/08/15 20:17:12 cherry Exp $");
*/
-__KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.3 2011/08/10 20:38:45 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xen_ipi.c,v 1.4 2011/08/15 20:17:12 cherry Exp $");
#include <sys/types.h>
@@ -158,7 +158,7 @@
KASSERT(ci != NULL || ci != curcpu());
- if ((ci->ci_flags & CPUF_RUNNING) != 0) {
+ if ((ci->ci_flags & CPUF_RUNNING) == 0) {
return ENOENT;
}
Home |
Main Index |
Thread Index |
Old Index