Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqdomain: Remove temporary MIPS workaround code

The MIPS interrupt controllers are all registering their own irq_domains
now. Drop the MIPS specific code because it is no longer needed.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/5458/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Grant Likely and committed by
Ralf Baechle
c5cdc67a d3478d5b

-12
-12
kernel/irq/irqdomain.c
··· 665 665 666 666 domain = controller ? irq_find_host(controller) : irq_default_domain; 667 667 if (!domain) { 668 - #ifdef CONFIG_MIPS 669 - /* 670 - * Workaround to avoid breaking interrupt controller drivers 671 - * that don't yet register an irq_domain. This is temporary 672 - * code. ~~~gcl, Feb 24, 2012 673 - * 674 - * Scheduled for removal in Linux v3.6. That should be enough 675 - * time. 676 - */ 677 - if (intsize > 0) 678 - return intspec[0]; 679 - #endif 680 668 pr_warning("no irq domain found for %s !\n", 681 669 of_node_full_name(controller)); 682 670 return 0;