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 intr_list_handler() should only tak...



details:   https://anonhg.NetBSD.org/src/rev/01f998925f68
branches:  trunk
changeset: 495400:01f998925f68
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jul 27 14:13:50 2000 +0000

description:
intr_list_handler() should only take one argument. it ignored the 2nd anyway.

diffstat:

 sys/arch/sparc64/sparc64/intr.c |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r f541d4e65197 -r 01f998925f68 sys/arch/sparc64/sparc64/intr.c
--- a/sys/arch/sparc64/sparc64/intr.c   Thu Jul 27 14:10:25 2000 +0000
+++ b/sys/arch/sparc64/sparc64/intr.c   Thu Jul 27 14:13:50 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.31 2000/07/03 17:56:08 eeh Exp $ */
+/*     $NetBSD: intr.c,v 1.32 2000/07/27 14:13:50 mrg Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -72,7 +72,7 @@
 int    softintr __P((void *));
 int    softnet __P((void *));
 int    send_softclock __P((void *));
-int    intr_list_handler __P((void *, void *));
+int    intr_list_handler __P((void *));
 
 /*
  * Stray interrupt handler.  Clear it if possible.
@@ -213,9 +213,8 @@
  * a handler to hand out interrupts.
  */
 int
-intr_list_handler(arg, vec)
+intr_list_handler(arg)
        void * arg;
-       void * vec;
 {
        int claimed = 0;
        struct intrhand *ih = (struct intrhand *)arg;
@@ -227,8 +226,8 @@
                {
                        extern int intrdebug;
                        if (intrdebug & 1)
-                               printf("intr %p %x arg %p vec %p %s\n",
-                                       ih, ih->ih_number, ih->ih_arg, vec,
+                               printf("intr %p %x arg %p %s\n",
+                                       ih, ih->ih_number, ih->ih_arg,
                                        claimed ? "claimed" : "");
                }
 #endif



Home | Main Index | Thread Index | Old Index