Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758766Ab3FMXTx (ORCPT ); Thu, 13 Jun 2013 19:19:53 -0400 Received: from mail-ea0-f178.google.com ([209.85.215.178]:40042 "EHLO mail-ea0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754414Ab3FMXTv (ORCPT ); Thu, 13 Jun 2013 19:19:51 -0400 From: Grant Likely To: linux-kernel@vger.kernel.org Cc: Grant Likely , Ralf Baechle , linux-mips@linux-mips.org Subject: [PATCH] irqdomain: Remove temporary MIPS workaround code Date: Fri, 14 Jun 2013 00:19:43 +0100 Message-Id: <1371165583-21907-1-git-send-email-grant.likely@linaro.org> X-Mailer: git-send-email 1.8.1.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1565 Lines: 48 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 Cc: Ralf Baechle Cc: linux-mips@linux-mips.org --- Ralf, this should be okay to pull out now. I'll be submitting it for v3.11 unless someone yells. Even if so, all the irqdomain infrastructure is in place to make it trivial to add an irqdomain where missing. g. kernel/irq/irqdomain.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 13f2654..e0c3366 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -475,18 +475,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_warn("no irq domain found for %s !\n", of_node_full_name(controller)); return 0; -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/