Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 KNF.



details:   https://anonhg.NetBSD.org/src/rev/d3c16c6e846e
branches:  trunk
changeset: 797529:d3c16c6e846e
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Jul 20 15:48:54 2014 +0000

description:
KNF.

diffstat:

 sys/arch/x86/x86/ipi.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 7d6a65d4f189 -r d3c16c6e846e sys/arch/x86/x86/ipi.c
--- a/sys/arch/x86/x86/ipi.c    Sun Jul 20 15:46:34 2014 +0000
+++ b/sys/arch/x86/x86/ipi.c    Sun Jul 20 15:48:54 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipi.c,v 1.25 2014/07/20 15:46:34 uebayasi Exp $        */
+/*     $NetBSD: ipi.c,v 1.26 2014/07/20 15:48:54 uebayasi Exp $        */
 
 /*-
  * Copyright (c) 2000, 2008, 2009 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipi.c,v 1.25 2014/07/20 15:46:34 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipi.c,v 1.26 2014/07/20 15:48:54 uebayasi Exp $");
 
 #include "opt_mtrr.h"
 
@@ -150,7 +150,7 @@
        KDASSERT((pending >> X86_NIPI) == 0);
        while ((bit = ffs(pending)) != 0) {
                bit--;
-               pending &= ~(1<<bit);
+               pending &= ~(1 << bit);
                ci->ci_ipi_events[bit].ev_count++;
                (*ipifunc[bit])(ci);
        }
@@ -167,7 +167,7 @@
        x86_disable_intr();
        atomic_and_32(&ci->ci_flags, ~CPUF_RUNNING);
 
-       for(;;) {
+       for (;;) {
                x86_hlt();
        }
 }



Home | Main Index | Thread Index | Old Index