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

From: kumon@flab.fujitsu.co.jp
Date: Mon May 08 2000 - 19:17:38 EDT

  • Next message: Jeff Garzik: "Re: [PATCH] RE: Future Linux devel. Kernels"

    Thank you.

    It fixes the duplication for me.

    Pete Wyckoff writes:
    > 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 : Mon May 08 2000 - 19:44:30 EDT