Re: [PATCH] parisc, don't claim cpu irqs more than once

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 11 Jun 2011, Rolf Eike Beer wrote:

> >         int i;
> > +#ifdef CONFIG_SMP
> > +       static int irqs_claimed;
> > +       if (irqs_claimed)
> > +               return;
> > +       irqs_claimed = 1;
> > +#endif
> 
> Shouldn't this be bool then? Now that we have it.

Yes but I would like to here with this approach is acceptable.  Another
alternative might be a function init_IRQ_SMP that doesn't call claim_cpu_irqs.

Dave
-- 
J. David Anglin                                  dave.anglin@xxxxxxxxxxxxxx
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux