Module Name:    src
Committed By:   matt
Date:           Sun Apr 12 08:52:54 UTC 2015

Modified Files:
        src/sys/arch/arm/pic: pic.c

Log Message:
Use right kcpuset call.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/arm/pic/pic.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/arm/pic/pic.c
diff -u src/sys/arch/arm/pic/pic.c:1.29 src/sys/arch/arm/pic/pic.c:1.30
--- src/sys/arch/arm/pic/pic.c:1.29	Sat Apr 11 19:39:09 2015
+++ src/sys/arch/arm/pic/pic.c	Sun Apr 12 08:52:54 2015
@@ -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 @@ intr_ipi_send(const kcpuset_t *kcp, u_lo
 		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.

Reply via email to