On Fri, Feb 24, 2012 at 3:53 AM, Benoit Cousson <b-cousson@xxxxxx> wrote: > The wakeupgen was wrongly allocating an array based on the > NR_IRQS value (410 on OMAP4) whereas it is just capable of handling 128 > entries. > Moreover with SPARSE_IRQ, the NR_IRQS number might be 16, and thus > cannot handle the proper number of entries. It will generate an oops as > soon a driver will request an IRQ > 16. > > Allocate the array using the fixed MAX_IRQS value (128). > > Signed-off-by: Benoit Cousson <b-cousson@xxxxxx> > Cc: Santosh Shilimkar <santosh.shilimkar@xxxxxx> > --- > arch/arm/mach-omap2/omap-wakeupgen.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > Right. Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html