OMAP: Fix a BUG in l3 error handler.
authorTodd Poynor <toddpoynor@google.com>
Mon, 29 Aug 2011 12:12:23 +0000 (17:42 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Sat, 24 Sep 2011 07:58:57 +0000 (13:28 +0530)
commitc1df2dcc90dc6f5110726e9bdcd2353db989c29d
treeca6f589df8bcc6448398324569e11c0e645fbd6c
parent342fd144292a6b64ea869e4052eb250486c8f326
OMAP: Fix a BUG in l3 error handler.

With the current sequence of registering the irq and
assigning it to the app_irq, debug_irq driver variables,
there can be corner cases where the pending irq gets
triggered immediately after registering, handler gets called
resulting in a crash. So changed this sequence.

Signed-off-by: sricharan <r.sricharan@ti.com>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/omap_l3_noc.c