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

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

  • Next message: kuznet@ms2.inr.ac.ru: "Re: Possible TCP Problem with RH6.2 talking to Solaris2.6/2.7"

    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 - 12:39:44 EDT