Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/hpcmips add missing simple_lock_init.



details:   https://anonhg.NetBSD.org/src/rev/ddc571a78c36
branches:  trunk
changeset: 518023:ddc571a78c36
user:      uch <uch%NetBSD.org@localhost>
date:      Fri Nov 23 16:21:31 2001 +0000

description:
add missing simple_lock_init.

diffstat:

 sys/arch/hpcmips/hpcmips/interrupt.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ad5be7157715 -r ddc571a78c36 sys/arch/hpcmips/hpcmips/interrupt.c
--- a/sys/arch/hpcmips/hpcmips/interrupt.c      Fri Nov 23 16:14:51 2001 +0000
+++ b/sys/arch/hpcmips/hpcmips/interrupt.c      Fri Nov 23 16:21:31 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interrupt.c,v 1.4 2001/09/23 14:32:52 uch Exp $        */
+/*     $NetBSD: interrupt.c,v 1.5 2001/11/23 16:21:31 uch Exp $        */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -153,6 +153,7 @@
                asi = &hpcmips_soft_intrs[i];
                TAILQ_INIT(&asi->softintr_q);
                asi->softintr_ipl = IPL_SOFT + i;
+               simple_lock_init(&asi->softintr_slock);
                evcnt_attach_dynamic(&asi->softintr_evcnt, EVCNT_TYPE_INTR,
                    NULL, "soft", softintr_names[i]);
        }



Home | Main Index | Thread Index | Old Index