From patchwork Fri Jan 10 02:32:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 3464011 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 613EA9F1C4 for ; Fri, 10 Jan 2014 02:17:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 965E42010E for ; Fri, 10 Jan 2014 02:17:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 420692010B for ; Fri, 10 Jan 2014 02:17:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752728AbaAJCRe (ORCPT ); Thu, 9 Jan 2014 21:17:34 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:52768 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751330AbaAJCRe (ORCPT ); Thu, 9 Jan 2014 21:17:34 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MZ500MX1YD8CC60@mailout2.samsung.com> for linux-samsung-soc@vger.kernel.org; Fri, 10 Jan 2014 11:17:32 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 68.66.14803.C385FC25; Fri, 10 Jan 2014 11:17:32 +0900 (KST) X-AuditID: cbfee691-b7efc6d0000039d3-a0-52cf583c6f98 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 3B.06.29263.C385FC25; Fri, 10 Jan 2014 11:17:32 +0900 (KST) Received: from localhost.localdomain ([12.23.120.139]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MZ5005K2YD41QB0@mmp1.samsung.com>; Fri, 10 Jan 2014 11:17:32 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: tglx@linutronix.de, kgene.kim@samsung.com, catalin.marinas@arm.com, thomas.ab@samsung.com, Pankaj Dubey Subject: [PATCH 1/3] irqchip: exynos-combiner: call handle_bad_irq directly Date: Fri, 10 Jan 2014 11:32:22 +0900 Message-id: <1389321142-4073-1-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFLMWRmVeSWpSXmKPExsVy+t8zY12biPNBBi8uCFi8X9bDaNG74Cqb xabH11gtZpzfx2SxaOsXdovNm6YyW3QsY3Rg91gzbw2jx7tz59g9Ni+p9+jbsorR4/MmuQDW KC6blNSczLLUIn27BK6MNxffMxYs4KhY33aNrYHxL1sXIyeHhICJxIlvz9ghbDGJC/fWg8WF BJYxSsyeU9zFyAFWs/9QeRcjF1B4EaPEvHsL2CGcNiaJhfP3sIA0sAnoSjx5P5cZxBYR8JaY fOYv2FBmgQ5GiebbKiC2MFD8xIWDrCA2i4CqxLn3FxhBbF4Bd4lvy3awQixTkJgzyQZkvoTA fzaJlU/eQdULSHybfIgFokZWYtMBZoibJSUOrrjBMoFRcAEjwypG0dSC5ILipPQiU73ixNzi 0rx0veT83E2MkHCduIPx/gHrQ4zJQOMmMkuJJucDwz2vJN7Q2MzIwtTE1NjI3NKMNGElcd70 R0lBQgLpiSWp2ampBalF8UWlOanFhxiZODilGhi7TpVq2slzT7XLnvbW+mpQyQqxQzXXmaZe 2DjnPauZg+kEzpBtuxTf84aqWq3Zvswv+03uo5cz5HojjQ7bfJqqvM7OqW9igfNajZKkLmfG Ux/z/0z3bjz/j1tr2ttewTsnndX5uuLsOJMnfvu14IJ/TcQrK13NOcIpraXrd7JZch5eI/mp cJMSS3FGoqEWc1FxIgDuMQ4LbQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBIsWRmVeSWpSXmKPExsVy+t9jAV2biPNBBsv281i8X9bDaNG74Cqb xabH11gtZpzfx2SxaOsXdovNm6YyW3QsY3Rg91gzbw2jx7tz59g9Ni+p9+jbsorR4/MmuQDW qAZGm4zUxJTUIoXUvOT8lMy8dFsl7+B453hTMwNDXUNLC3MlhbzE3FRbJRefAF23zBygK5QU yhJzSoFCAYnFxUr6dpgmhIa46VrANEbo+oYEwfUYGaCBhHWMGW8uvmcsWMBRsb7tGlsD41+2 LkYODgkBE4n9h8q7GDmBTDGJC/fWA4W5OIQEFjFKzLu3gB3CaWOSWDh/DwtIFZuArsST93OZ QWwRAW+JyWf+soPYzAIdjBLNt1VAbGGg+IkLB1lBbBYBVYlz7y8wgti8Au4S35btYIVYrCAx Z5LNBEbuBYwMqxhFUwuSC4qT0nMN9YoTc4tL89L1kvNzNzGC4+GZ1A7GlQ0WhxgFOBiVeHhX FJ8NEmJNLCuuzD3EKMHBrCTCy+p9PkiINyWxsiq1KD++qDQntfgQYzLQ8onMUqLJ+cBYzSuJ NzQ2MTOyNDKzMDIxNydNWEmc90CrdaCQQHpiSWp2ampBahHMFiYOTqkGxkWHX4osL9QOk//A VXwt7F5An4jcgvvyQmmNF5RzeedmP4jrs2gyePrlS1uepPKW5PyVxk3nOyfkPXy6acbRGMG4 qMqJ34pmLjyurht619LP9p8FP39znkt5wG6NtTYfqqK2VXsmJovvNlNjPHM+prR9cfuNvKZ7 0jt1LYtr1R5zXi7u65isxFKckWioxVxUnAgAkUzYlMsCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch is inspired from following commit aec0095653: (irqchip: gic: Call handle_bad_irq() directly) Also this will help in removing unwanted inclusion of header file "asm/mach/irq.h" Signed-off-by: Pankaj Dubey Reviewed-by: Tomasz Figa --- drivers/irqchip/exynos-combiner.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/exynos-combiner.c b/drivers/irqchip/exynos-combiner.c index 40e6440..f8636a6 100644 --- a/drivers/irqchip/exynos-combiner.c +++ b/drivers/irqchip/exynos-combiner.c @@ -17,7 +17,6 @@ #include #include #include -#include #include "irqchip.h" @@ -81,7 +80,7 @@ static void combiner_handle_cascade_irq(unsigned int irq, struct irq_desc *desc) cascade_irq = irq_find_mapping(combiner_irq_domain, combiner_irq); if (unlikely(!cascade_irq)) - do_bad_IRQ(irq, desc); + handle_bad_irq(irq, desc); else generic_handle_irq(cascade_irq);