Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Small code cleanup.
details: https://anonhg.NetBSD.org/src/rev/8fca14dc63f9
branches: trunk
changeset: 512972:8fca14dc63f9
user: eeh <eeh%NetBSD.org@localhost>
date: Thu Jul 19 23:38:11 2001 +0000
description:
Small code cleanup.
diffstat:
sys/arch/sparc64/sparc64/intr.c | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r 1ff15aa60e3b -r 8fca14dc63f9 sys/arch/sparc64/sparc64/intr.c
--- a/sys/arch/sparc64/sparc64/intr.c Thu Jul 19 23:37:17 2001 +0000
+++ b/sys/arch/sparc64/sparc64/intr.c Thu Jul 19 23:38:11 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.38 2001/01/15 20:19:58 thorpej Exp $ */
+/* $NetBSD: intr.c,v 1.39 2001/07/19 23:38:11 eeh Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -267,7 +267,8 @@
* Interrupt is already there. We need to create a
* new interrupt handler and interpose it.
*/
- printf("intr_establish: intr reused %d\n", ih->ih_number);
+ printf("intr_establish: intr reused %x\n",
+ ih->ih_number);
if (q->ih_fun != intr_list_handler) {
nih = (struct intrhand *)
@@ -286,12 +287,15 @@
else
intrlev[ih->ih_number] = ih;
#ifdef NOT_DEBUG
- printf("\nintr_establish: vector %x pil %x mapintr %p clrintr %p fun %p arg %p\n",
- ih->ih_number, ih->ih_pil, (long)ih->ih_map, (long)ih->ih_clr, ih->ih_fun, ih->ih_arg);
+ printf("\nintr_establish: vector %x pil %x mapintr %p "
+ "clrintr %p fun %p arg %p\n",
+ ih->ih_number, ih->ih_pil, (void *)ih->ih_map,
+ (void *)ih->ih_clr, (void *)ih->ih_fun,
+ (void *)ih->ih_arg);
/*Debugger();*/
#endif
} else
- panic("intr_establish: bad intr number %d", ih->ih_number);
+ panic("intr_establish: bad intr number %x", ih->ih_number);
splx(s);
}
Home |
Main Index |
Thread Index |
Old Index