Re: [PATCH] irqdomain: fix typo in IRQ_BITMAP_BITS definition

From: Thomas Gleixner
Date: Thu Apr 19 2012 - 15:02:53 EST


On Thu, 19 Apr 2012, Grant Likely wrote:

> On Thu, Apr 19, 2012 at 10:14 AM, Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:
> > 8196 is an odd number, change it to the intended 8192.
> >
> > Signed-off-by: Andreas Schwab <schwab@xxxxxxxxxxxxxx>
> > ---
> > Shouldn't it actually be just 8192 or maybe max(NR_IRQS, 8192)?
>
> The number is completely arbitrary. It doesn't actually matter.

Right, it just makes sure that the bitmap is way larger than the
NR_IRQS value, so we can deal with all the dynamic allocated
interrupts.

Thanks,

tglx

--
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/