OMAP: l3: print out status reg on app errors
[pandora-kernel.git] / arch / arm / mach-omap2 / omap_l3_smx.c
index abe6dc5..df18e02 100644 (file)
@@ -183,7 +183,8 @@ static irqreturn_t omap3_l3_app_irq(int irq, void *_l3)
                 * of such errors and handle the others. timeout error
                 * is severe and not expected to occur.
                 */
-               WARN_ON(status & L3_STATUS_0_TIMEOUT_MASK);
+               WARN(status & L3_STATUS_0_TIMEOUT_MASK,
+                       "L3_APPLICATION_ERROR, status %llx", status);
        } else {
                status = omap3_l3_readll(l3->rt, L3_SI_FLAG_STATUS_1);
                /* No timeout error for debug sources */