Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpkern fix inversion: advance clock on cp...



details:   https://anonhg.NetBSD.org/src/rev/06410fdddcc8
branches:  trunk
changeset: 754784:06410fdddcc8
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed May 12 16:48:21 2010 +0000

description:
fix inversion: advance clock on cpu0, not the complement of cpu0

diffstat:

 sys/rump/librump/rumpkern/intr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 56c1f783f370 -r 06410fdddcc8 sys/rump/librump/rumpkern/intr.c
--- a/sys/rump/librump/rumpkern/intr.c  Wed May 12 16:41:08 2010 +0000
+++ b/sys/rump/librump/rumpkern/intr.c  Wed May 12 16:48:21 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.26 2010/04/28 00:32:30 pooka Exp $  */
+/*     $NetBSD: intr.c,v 1.27 2010/05/12 16:48:21 pooka Exp $  */
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.26 2010/04/28 00:32:30 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.27 2010/05/12 16:48:21 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -128,7 +128,7 @@
                if (!CPU_IS_PRIMARY(curcpu()))
                        continue;
 #else
-               if (curcpu()->ci_index == 0)
+               if (curcpu()->ci_index != 0)
                        continue;
 #endif
 



Home | Main Index | Thread Index | Old Index