From patchwork Tue Aug 26 10:03:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 35973 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f69.google.com (mail-qg0-f69.google.com [209.85.192.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 180C52054F for ; Tue, 26 Aug 2014 10:05:44 +0000 (UTC) Received: by mail-qg0-f69.google.com with SMTP id a108sf44767128qge.4 for ; Tue, 26 Aug 2014 03:05:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=WcZHIKFakVgMz3uqvAa3peSy46Atff7fRiU/4l1+2Hs=; b=i6ffFrsf8/Txt14BhD1AibsGWgj9+Gb70IDZH4kSwShPdTfNsmS9c2qX1z7XVrRwV5 ckSgBVZtkZthIs53TZNBY0brT28DwQWtWi/t3+0kipdSWD2+DoYuEFvKd3Qbyj/7tjzf C1/FiCxHA9L/fxG5wr/V3pLnPEJsDsDmDpg1dUWWX8KEixDavj4dZYGQaFUP7AxF8QLN kCQGwLEhM92cSTOmtxKvsqsSqqFnrLJf2rn6zFBsGDuX2f0sfB9WB7bCvgyVmcF6yv1H Qre27Oe1L2uk1k7nMwXi61D6vtKbTsGWX8aa8AhWqy938aFe+8pQE4OPSLyv302EcVlN 2b5A== X-Gm-Message-State: ALoCoQkSE3Oa+PoD9D25/ciGRxIahouU3MpQRUCFDPn+6RIqX9TwPPrcYQg+q51Nbp/wmV5PfRbj X-Received: by 10.236.203.8 with SMTP id e8mr5132187yho.7.1409047543955; Tue, 26 Aug 2014 03:05:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.105 with SMTP id o96ls2428892qgo.35.gmail; Tue, 26 Aug 2014 03:05:43 -0700 (PDT) X-Received: by 10.52.144.232 with SMTP id sp8mr10343vdb.61.1409047543842; Tue, 26 Aug 2014 03:05:43 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id l1si1201894vca.33.2014.08.26.03.05.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 03:05:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id im17so16533624vcb.17 for ; Tue, 26 Aug 2014 03:05:43 -0700 (PDT) X-Received: by 10.220.114.5 with SMTP id c5mr11192889vcq.28.1409047543755; Tue, 26 Aug 2014 03:05:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp185067vcb; Tue, 26 Aug 2014 03:05:43 -0700 (PDT) X-Received: by 10.66.147.67 with SMTP id ti3mr36080702pab.2.1409047542871; Tue, 26 Aug 2014 03:05:42 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ti10si3191070pab.206.2014.08.26.03.05.41 for ; Tue, 26 Aug 2014 03:05:42 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757381AbaHZKFa (ORCPT + 26 others); Tue, 26 Aug 2014 06:05:30 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:21334 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934684AbaHZKFY (ORCPT ); Tue, 26 Aug 2014 06:05:24 -0400 Received: from e102391-lin.cambridge.arm.com (e102391-lin.cambridge.arm.com [10.1.209.143]) by collaborate-mta1.arm.com (Postfix) with ESMTP id D277913FB6A; Tue, 26 Aug 2014 05:05:15 -0500 (CDT) From: Marc Zyngier To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux@lists.openrisc.net Cc: linux@arm.linux.org.uk, shawn.guo@freescale.com, kernel@pengutronix.de, tony@atomide.com, catalin.marinas@arm.com, will.deacon@arm.com, jonas@southpole.se, tglx@linutronix.de, jason@lakedaemon.net, shc_work@mail.ru, baohua@kernel.org, maxime.ripard@free-electrons.com, marc.zyngier@arm.com, khilman@linaro.org, sboyd@codeaurora.org, lorenzo.pieralisi@arm.com, larry.bassel@linaro.org, mark.rutland@arm.com, sudeep.holla@arm.com, stefan.kristiansson@saunalahti.fi, vkale@apm.com, schwidefsky@de.ibm.com Subject: [PATCH v2 26/26] openrisc: get rid of handle_IRQ Date: Tue, 26 Aug 2014 11:03:41 +0100 Message-Id: <1409047421-27649-27-git-send-email-marc.zyngier@arm.com> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1409047421-27649-1-git-send-email-marc.zyngier@arm.com> References: <1409047421-27649-1-git-send-email-marc.zyngier@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: marc.zyngier@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The openrisc irqchip driver has been converted to handle_domain_irq, making it possible to remove the handle_IRQ stub entierely. Signed-off-by: Marc Zyngier --- arch/openrisc/include/asm/irq.h | 1 - arch/openrisc/kernel/irq.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/arch/openrisc/include/asm/irq.h b/arch/openrisc/include/asm/irq.h index b84634c..d9eee0a 100644 --- a/arch/openrisc/include/asm/irq.h +++ b/arch/openrisc/include/asm/irq.h @@ -24,7 +24,6 @@ #define NO_IRQ (-1) -void handle_IRQ(unsigned int, struct pt_regs *); extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); #endif /* __ASM_OPENRISC_IRQ_H__ */ diff --git a/arch/openrisc/kernel/irq.c b/arch/openrisc/kernel/irq.c index e9aaf28..35e478a 100644 --- a/arch/openrisc/kernel/irq.c +++ b/arch/openrisc/kernel/irq.c @@ -48,11 +48,6 @@ void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) handle_arch_irq = handle_irq; } -void handle_IRQ(unsigned int irq, struct pt_regs *regs) -{ - __handle_domain_irq(NULL, irq, false, regs); -} - void __irq_entry do_IRQ(struct pt_regs *regs) { handle_arch_irq(regs);