Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/cavium KNF whitespace nits.



details:   https://anonhg.NetBSD.org/src/rev/1dc27ed250fc
branches:  trunk
changeset: 936101:1dc27ed250fc
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Jul 19 08:58:35 2020 +0000

description:
KNF whitespace nits.

diffstat:

 sys/arch/mips/cavium/octeon_cpunode.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 2111863384e5 -r 1dc27ed250fc sys/arch/mips/cavium/octeon_cpunode.c
--- a/sys/arch/mips/cavium/octeon_cpunode.c     Sun Jul 19 08:53:24 2020 +0000
+++ b/sys/arch/mips/cavium/octeon_cpunode.c     Sun Jul 19 08:58:35 2020 +0000
@@ -29,7 +29,7 @@
 #define __INTR_PRIVATE
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: octeon_cpunode.c,v 1.14 2020/07/17 21:59:30 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: octeon_cpunode.c,v 1.15 2020/07/19 08:58:35 simonb Exp $");
 
 #include "locators.h"
 #include "cpunode.h"
@@ -100,7 +100,7 @@
 int
 cpunode_mainbus_match(device_t parent, cfdata_t cf, void *aux)
 {
-       
+
        return 1;
 }
 
@@ -223,6 +223,7 @@
 static void
 octeon_cpu_run(struct cpu_info *ci)
 {
+
        octeon_intr_init(ci);
 
        mips3_initclocks();
@@ -402,12 +403,14 @@
 wdog_cpunode_poke(void *arg)
 {
        struct cpu_softc *cpu = arg;
+
        mips3_sd(cpu->cpu_pp_poke, 0);
 }
 
 static int
 wdog_cpunode_tickle(struct sysmon_wdog *smw)
 {
+
        wdog_cpunode_poke(curcpu()->ci_softc);
 #ifdef MULTIPROCESSOR
        // We need to send IPIs to the other CPUs to poke their wdog.



Home | Main Index | Thread Index | Old Index