Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/pic Use right kcpuset call.



details:   https://anonhg.NetBSD.org/src/rev/c91287e8af05
branches:  trunk
changeset: 807481:c91287e8af05
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Apr 12 08:52:54 2015 +0000

description:
Use right kcpuset call.

diffstat:

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

diffs (27 lines):

diff -r 999e30a896fe -r c91287e8af05 sys/arch/arm/pic/pic.c
--- a/sys/arch/arm/pic/pic.c    Sat Apr 11 21:14:31 2015 +0000
+++ b/sys/arch/arm/pic/pic.c    Sun Apr 12 08:52:54 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic.c,v 1.29 2015/04/11 19:39:09 matt Exp $    */
+/*     $NetBSD: pic.c,v 1.30 2015/04/12 08:52:54 matt Exp $    */
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -33,7 +33,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.29 2015/04/11 19:39:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.30 2015/04/12 08:52:54 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -182,7 +182,7 @@
                struct pic_softc * const pic = pic_list[slot];
                if (pic == NULL || pic->pic_cpus == NULL)
                        continue;
-               if (kcp == NULL || kcpuset_intersect(kcp, pic->pic_cpus)) {
+               if (kcp == NULL || kcpuset_intersecting_p(kcp, pic->pic_cpus)) {
                        (*pic->pic_ops->pic_ipi_send)(pic, kcp, ipi);
                        // If we were targeting a single CPU or this pic
                        // handles all cpus, we're done.



Home | Main Index | Thread Index | Old Index