]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - init/main.c
generic: add irq_desc in function in parameter
[linux-2.6-omap-h63xx.git] / init / main.c
index ab97d0877acc71de909a8ef2a9757994de57966a..0d2e60144f83511e11ba89c5b3479dbd4b5c8e93 100644 (file)
@@ -590,6 +590,13 @@ void pre_alloc_dyn_array(void)
                if (da->init_work)
                        da->init_work(da);
        }
+#else
+#ifdef CONFIF_GENERIC_HARDIRQS
+       unsigned int i;
+
+       for (i = 0; i < NR_IRQS; i++)
+               irq_desc[i].irq = i;
+#endif
 #endif
 }