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 KNF



details:   https://anonhg.NetBSD.org/src/rev/35ddb5661e9b
branches:  trunk
changeset: 941669:35ddb5661e9b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Oct 26 07:14:42 2020 +0000

description:
KNF

diffstat:

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

diffs (31 lines):

diff -r 405e8256b65e -r 35ddb5661e9b sys/arch/arm/pic/pic.c
--- a/sys/arch/arm/pic/pic.c    Mon Oct 26 07:03:47 2020 +0000
+++ b/sys/arch/arm/pic/pic.c    Mon Oct 26 07:14:42 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic.c,v 1.58 2020/10/25 08:29:30 skrll Exp $   */
+/*     $NetBSD: pic.c,v 1.59 2020/10/26 07:14:42 skrll 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.58 2020/10/25 08:29:30 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.59 2020/10/26 07:14:42 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -208,8 +208,10 @@
                                continue;
 
                        (*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.
+                       /*
+                        * If we were targeting a single CPU or this pic
+                        * handles all cpus, we're done.
+                        */
                        if (kcp != NULL || pic->pic_cpus == kcpuset_running)
                                return;
                        sent_p = true;



Home | Main Index | Thread Index | Old Index