Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/common Do not forget to init intr_private
details: https://anonhg.NetBSD.org/src/rev/5f92cf886cb2
branches: trunk
changeset: 481510:5f92cf886cb2
user: mjacob <mjacob%NetBSD.org@localhost>
date: Tue Feb 01 04:14:18 2000 +0000
description:
Do not forget to init intr_private
diffstat:
sys/arch/alpha/common/shared_intr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 976403a74e80 -r 5f92cf886cb2 sys/arch/alpha/common/shared_intr.c
--- a/sys/arch/alpha/common/shared_intr.c Tue Feb 01 04:04:17 2000 +0000
+++ b/sys/arch/alpha/common/shared_intr.c Tue Feb 01 04:14:18 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: shared_intr.c,v 1.10 1999/12/08 23:54:55 thorpej Exp $ */
+/* $NetBSD: shared_intr.c,v 1.11 2000/02/01 04:14:18 mjacob Exp $ */
/*
* Copyright (c) 1996 Carnegie-Mellon University.
@@ -33,7 +33,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: shared_intr.c,v 1.10 1999/12/08 23:54:55 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: shared_intr.c,v 1.11 2000/02/01 04:14:18 mjacob Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -84,6 +84,7 @@
intr[i].intr_dfltsharetype = IST_NONE;
intr[i].intr_nstrays = 0;
intr[i].intr_maxstrays = 5;
+ intr[i].intr_private = NULL;
}
return (intr);
Home |
Main Index |
Thread Index |
Old Index