Re: 2.3.99-preX, Duplicated entries in /proc/irq

From: Pete Wyckoff (wyckoff@ca.sandia.gov)
Date: Sun May 07 2000 - 11:34:58 EST


kumon@flab.fujitsu.co.jp said:
> The proc directry /proc/irq contains duplicated name entries.
> I checked on pre3, pre5 and pre7-classzone24.

Untested patch below.
                -- Pete

--- arch/i386/kernel/irq.c.orig Fri Mar 24 19:05:53 2000
+++ arch/i386/kernel/irq.c Fri May 7 09:33:45 2000
@@ -1120,6 +1120,9 @@
        if (!root_irq_dir || (irq_desc[irq].handler == &no_irq_type))
                return;

+ if (irq_dir[irq])
+ return;
+
        memset(name, 0, MAX_NAMELEN);
        sprintf(name, "%d", irq);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:21 EST