Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/pic use ci_index.



details:   https://anonhg.NetBSD.org/src/rev/180a7dd6a08e
branches:  trunk
changeset: 790119:180a7dd6a08e
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Sep 19 23:28:52 2013 +0000

description:
use ci_index.

diffstat:

 sys/arch/powerpc/pic/openpic_common.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ded2f4f65c77 -r 180a7dd6a08e sys/arch/powerpc/pic/openpic_common.c
--- a/sys/arch/powerpc/pic/openpic_common.c     Thu Sep 19 21:19:13 2013 +0000
+++ b/sys/arch/powerpc/pic/openpic_common.c     Thu Sep 19 23:28:52 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: openpic_common.c,v 1.6 2012/02/01 09:54:03 matt Exp $ */
+/*     $NetBSD: openpic_common.c,v 1.7 2013/09/19 23:28:52 christos Exp $ */
 
 /*-
  * Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: openpic_common.c,v 1.6 2012/02/01 09:54:03 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: openpic_common.c,v 1.7 2013/09/19 23:28:52 christos Exp $");
 
 #include "opt_openpic.h"
 #include "opt_interrupt.h"
@@ -52,7 +52,7 @@
 
 #ifdef OPENPIC_DISTRIBUTE
        for (i = 0; i < ncpu; i++)
-               cpumask |= (1 << cpu_info[i].ci_cpuid);
+               cpumask |= (1 << cpu_info[i].ci_index);
 #else
        cpumask = 1;
 #endif



Home | Main Index | Thread Index | Old Index