Re: [PATCH for -tip] irq: for_each_irq_desc() makes simplify

From: Ingo Molnar
Date: Thu Dec 25 2008 - 11:49:51 EST



* KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:

> > > > > +#include <linux/irq.h>
> > > >
> > > > looks good, but linux/irq.h cannot be included on all architectures. (for
> > > > example s390 has no notion of 'hardirqs'). But we created linux/irqnr.h
> > > > for this purpose - so including that should work better.
> > >
> > > Oh, thanks good explain.
> > > I'll fix soon.
> >
> > next spin is here.
> > I confirmed three architecture.
> >
> > 1. alpha (without SPARSE_IRQ, build test by cross compiler only)
> > 2. ia64 (without SPARSE_IRQ)
> > 3. x86_64 (with SPARSE_IRQ)
>
>
> Is this good idea?
> this patch also tested on above three architecture.

yes, this is a nice cleanup too!

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