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/7d70fc208266
branches:  trunk
changeset: 744435:7d70fc208266
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Feb 01 12:55:35 2020 +0000

description:
KNF

diffstat:

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

diffs (49 lines):

diff -r dcb8b745af1d -r 7d70fc208266 sys/arch/arm/pic/pic.c
--- a/sys/arch/arm/pic/pic.c    Sat Feb 01 12:55:26 2020 +0000
+++ b/sys/arch/arm/pic/pic.c    Sat Feb 01 12:55:35 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic.c,v 1.55 2020/02/01 12:55:26 riastradh Exp $       */
+/*     $NetBSD: pic.c,v 1.56 2020/02/01 12:55:35 riastradh Exp $       */
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -33,20 +33,20 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.55 2020/02/01 12:55:26 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic.c,v 1.56 2020/02/01 12:55:35 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
 #include <sys/cpu.h>
 #include <sys/evcnt.h>
+#include <sys/interrupt.h>
 #include <sys/intr.h>
+#include <sys/ipi.h>
 #include <sys/kernel.h>
 #include <sys/kmem.h>
 #include <sys/mutex.h>
 #include <sys/once.h>
-#include <sys/interrupt.h>
 #include <sys/xcall.h>
-#include <sys/ipi.h>
 
 #include <arm/armreg.h>
 #include <arm/cpufunc.h>
@@ -366,7 +366,6 @@
 #endif
                (void)(*func)(arg);
 
-
        struct pic_percpu * const pcpu = percpu_getref(is->is_pic->pic_percpu);
        KASSERT(pcpu->pcpu_magic == PICPERCPU_MAGIC);
        pcpu->pcpu_evs[is->is_irq].ev_count++;
@@ -509,7 +508,6 @@
        }
 }
 
-
 struct pic_softc *
 pic_list_find_pic_by_pending_ipl(struct pic_pending *pend, uint32_t ipl_mask)
 {



Home | Main Index | Thread Index | Old Index