Skip to content

Commit

Permalink
irqdomain: Remove temporary MIPS workaround code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Grant Likely authored and Ralf Baechle committed Jun 17, 2013
1 parent d3478d5 commit c5cdc67
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions kernel/irq/irqdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c5cdc67

Please sign in to comment.