On Fri, Feb 24, 2012 at 3:53 AM, Benoit Cousson <[email protected]> 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 <[email protected]>
> Cc: Santosh Shilimkar <[email protected]>
> ---
>  arch/arm/mach-omap2/omap-wakeupgen.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
Right.
Acked-by: Santosh Shilimkar <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to