diff options
author | Grant Likely <grant.likely@linaro.org> | 2013-06-13 22:19:43 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-17 22:31:34 (GMT) |
commit | c5cdc67a58a22c49f558b450c6f748251ceb2e7b (patch) | |
tree | 15b6f44d9065eaebbf71b415b6ec6daba4b91e68 /kernel | |
parent | d3478d5b73efb713378bebb31ac9a11f5a6dc587 (diff) | |
download | linux-c5cdc67a58a22c49f558b450c6f748251ceb2e7b.tar.xz |
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/irqdomain.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 54a4d52..a341b3d 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -665,18 +665,6 @@ unsigned int irq_create_of_mapping(struct device_node *controller, domain = controller ? irq_find_host(controller) : irq_default_domain; if (!domain) { -#ifdef CONFIG_MIPS - /* - * Workaround to avoid breaking interrupt controller drivers - * that don't yet register an irq_domain. This is temporary - * code. ~~~gcl, Feb 24, 2012 - * - * Scheduled for removal in Linux v3.6. That should be enough - * time. - */ - if (intsize > 0) - return intspec[0]; -#endif pr_warning("no irq domain found for %s !\n", of_node_full_name(controller)); return 0; |