From patchwork Tue Aug 26 10:03:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 35972 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E33A72054F for ; Tue, 26 Aug 2014 10:05:42 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id uq10sf19796725igb.7 for ; Tue, 26 Aug 2014 03:05:42 -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=UDB9ht74P3VuhOaCkatV9MdlGtug14UAdZTjYfkV7xk=; b=gWzJUbzVL5I8xymzZCC6C+tPQt2Ifr0FYofJBywvvwyPKkuzDsWvgo+h0fc8+Dh2Qv Vp8S/cChhBOB82/fCWCqfl6c94xsKZnxc3GASNAcaKl0O9+UqmLlrR6cv93DnN6hxDn5 ui1Dh3FUiWOxT9uS8UqBePzShZ4tLGccont4/scKlRXW1Yt7K4b9WIrGBAWwVt4mY6V6 quZAav71y97VT8OWUMWgT6mVPrlRcHORKbSKGwCRmNEzyvj6gClthWScFdtPVxVWzUQA BhtOS2H2KmPep6SBFcJkSk1+g7oDcfVXL5+QhlfwDxfzMgUKqVFM2C4V2edDSZnWbk6R 3mDw== X-Gm-Message-State: ALoCoQkd2nD26nfbeALcJZpaAahE4LvLG+eD/kybpKPd9BVb5II9vMSwDlzlR9pzxLJJ+vu9n+nC X-Received: by 10.43.152.197 with SMTP id kx5mr18841546icc.9.1409047542483; Tue, 26 Aug 2014 03:05:42 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.107.70 with SMTP id g64ls2513032qgf.85.gmail; Tue, 26 Aug 2014 03:05:42 -0700 (PDT) X-Received: by 10.220.110.77 with SMTP id m13mr10813273vcp.35.1409047542357; Tue, 26 Aug 2014 03:05:42 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id t10si1198711vcf.39.2014.08.26.03.05.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 03:05:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id hq11so16700632vcb.10 for ; Tue, 26 Aug 2014 03:05:42 -0700 (PDT) X-Received: by 10.52.127.5 with SMTP id nc5mr17427vdb.59.1409047542288; Tue, 26 Aug 2014 03:05:42 -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 uj3csp185062vcb; Tue, 26 Aug 2014 03:05:41 -0700 (PDT) X-Received: by 10.68.134.104 with SMTP id pj8mr18932625pbb.124.1409047541387; Tue, 26 Aug 2014 03:05:41 -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.40 for ; Tue, 26 Aug 2014 03:05:41 -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 S934740AbaHZKFU (ORCPT + 26 others); Tue, 26 Aug 2014 06:05:20 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:21287 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934684AbaHZKFP (ORCPT ); Tue, 26 Aug 2014 06:05:15 -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 4430D13FBCD; Tue, 26 Aug 2014 05:05:12 -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 25/26] arm64: get rid of handle_IRQ Date: Tue, 26 Aug 2014 11:03:40 +0100 Message-Id: <1409047421-27649-26-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.179 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: , All the arm64 irqchip drivers have been converted to handle_domain_irq, making it possible to remove the handle_IRQ stub entierely. Signed-off-by: Marc Zyngier Acked-by: Catalin Marinas --- arch/arm64/include/asm/hardirq.h | 2 -- arch/arm64/kernel/irq.c | 11 ----------- 2 files changed, 13 deletions(-) diff --git a/arch/arm64/include/asm/hardirq.h b/arch/arm64/include/asm/hardirq.h index 0be6782..e8a3268 100644 --- a/arch/arm64/include/asm/hardirq.h +++ b/arch/arm64/include/asm/hardirq.h @@ -47,8 +47,6 @@ static inline void ack_bad_irq(unsigned int irq) irq_err_count++; } -extern void handle_IRQ(unsigned int, struct pt_regs *); - /* * No arch-specific IRQ flags. */ diff --git a/arch/arm64/kernel/irq.c b/arch/arm64/kernel/irq.c index 2c0e2a7..67ca197 100644 --- a/arch/arm64/kernel/irq.c +++ b/arch/arm64/kernel/irq.c @@ -40,17 +40,6 @@ int arch_show_interrupts(struct seq_file *p, int prec) return 0; } -/* - * handle_IRQ handles all hardware IRQ's. Decoded IRQs should - * not come via this function. Instead, they should provide their - * own 'handler'. Used by platform code implementing C-based 1st - * level decoding. - */ -void handle_IRQ(unsigned int irq, struct pt_regs *regs) -{ - __handle_domain_irq(NULL, irq, false, regs); -} - void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) { if (handle_arch_irq)