aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/irqdomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/irqdomain.c')
-rw-r--r--kernel/irq/irqdomain.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 25a498eb98a3..af48e59bc2ff 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -411,6 +411,18 @@ unsigned int irq_create_of_mapping(struct device_node *controller,
411 411
412 domain = controller ? irq_find_host(controller) : irq_default_domain; 412 domain = controller ? irq_find_host(controller) : irq_default_domain;
413 if (!domain) { 413 if (!domain) {
414#ifdef CONFIG_MIPS
415 /*
416 * Workaround to avoid breaking interrupt controller drivers
417 * that don't yet register an irq_domain. This is temporary
418 * code. ~~~gcl, Feb 24, 2012
419 *
420 * Scheduled for removal in Linux v3.6. That should be enough
421 * time.
422 */
423 if (intsize > 0)
424 return intspec[0];
425#endif
414 printk(KERN_WARNING "irq: no irq domain found for %s !\n", 426 printk(KERN_WARNING "irq: no irq domain found for %s !\n",
415 controller->full_name); 427 controller->full_name);
416 return 0; 428 return 0;