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/511c84f1a875
branches:  trunk
changeset: 932484:511c84f1a875
user:      ad <ad%NetBSD.org@localhost>
date:      Fri May 08 21:43:54 2020 +0000

description:
KNF

diffstat:

 sys/arch/x86/x86/x86_softintr.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bd1a7acfb02d -r 511c84f1a875 sys/arch/x86/x86/x86_softintr.c
--- a/sys/arch/x86/x86/x86_softintr.c   Fri May 08 17:28:33 2020 +0000
+++ b/sys/arch/x86/x86/x86_softintr.c   Fri May 08 21:43:54 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: x86_softintr.c,v 1.2 2020/04/25 15:26:18 bouyer Exp $  */
+/*     $NetBSD: x86_softintr.c,v 1.3 2020/05/08 21:43:54 ad Exp $      */
 
 /*
  * Copyright (c) 2007, 2008, 2009, 2019 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_softintr.c,v 1.2 2020/04/25 15:26:18 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_softintr.c,v 1.3 2020/05/08 21:43:54 ad Exp $");
 
 #include <sys/kmem.h>
 #include <sys/proc.h>
@@ -223,6 +223,7 @@
 x86_init_preempt(struct cpu_info *ci)
 {
        struct intrsource *isp;
+
        isp = kmem_zalloc(sizeof(*isp), KM_SLEEP);
        isp->is_recurse = Xrecurse_preempt;
        isp->is_resume = Xresume_preempt;



Home | Main Index | Thread Index | Old Index