From patchwork Mon Oct 15 21:51:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 12243 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9BF3C23EFB for ; Mon, 15 Oct 2012 21:54:53 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 4C8BFA1861A for ; Mon, 15 Oct 2012 21:54:53 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so8462174iej.11 for ; Mon, 15 Oct 2012 14:54:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=mP3THEQ5GjeDqgEU0fqDyfp1g7J6RIhSHgl3oZMgCj0=; b=C8HTKv16/jTGZ0kBZwQBJKXyctLdCQALdT+3BYjAgbYD1j/4sz/M1ohi4/ygZOYx4K CyA6RRsXv8jWcbBaFhUGJnra3SAOCoK75jAL0OAZ+y19Q1qQxZbeEQRtU2u6sewb46v9 AapXBCvdIOpmcvtZi8crESUUvGpUH+s7KRWPgtoQi9kHr5DUbZplj9UBtCBLcsW4KFcx TdNRhR83AIowzTaVB6/6qzw34H2K4c1cgIqeilOvY+d2CHMZzhvgvlDs9Fqm4rAaScvF gg9WVmILTFPmGpVbt7ccf3tfAsqr4HjrwsrYy+7SrWHFAbhRLcQ2fPdmmoBwUYvnDOpW jr2w== Received: by 10.43.7.132 with SMTP id oo4mr10120735icb.6.1350338093072; Mon, 15 Oct 2012 14:54:53 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp641646igt; Mon, 15 Oct 2012 14:54:52 -0700 (PDT) Received: by 10.68.138.229 with SMTP id qt5mr40285280pbb.122.1350338092529; Mon, 15 Oct 2012 14:54:52 -0700 (PDT) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx.google.com with ESMTPS id o10si23715875paw.209.2012.10.15.14.54.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 15 Oct 2012 14:54:52 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of anton.vorontsov@linaro.org) client-ip=209.85.220.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.50 is neither permitted nor denied by best guess record for domain of anton.vorontsov@linaro.org) smtp.mail=anton.vorontsov@linaro.org Received: by mail-pa0-f50.google.com with SMTP id hz11so5827789pad.37 for ; Mon, 15 Oct 2012 14:54:52 -0700 (PDT) Received: by 10.68.230.234 with SMTP id tb10mr40834529pbc.71.1350338091923; Mon, 15 Oct 2012 14:54:51 -0700 (PDT) Received: from localhost (ip-64-134-230-8.public.wayport.net. [64.134.230.8]) by mx.google.com with ESMTPS id oj1sm9628164pbb.19.2012.10.15.14.54.50 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 15 Oct 2012 14:54:51 -0700 (PDT) From: Anton Vorontsov To: Russell King Cc: John Stultz , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com, Ben Dooks , Kukjin Kim , Sascha Hauer , Tony Lindgren , Mark Brown , Liam Girdwood Subject: [PATCH 05/10] ARM: FIQ: Remove enable_fiq() and disable_fiq() calls Date: Mon, 15 Oct 2012 14:51:29 -0700 Message-Id: <1350337894-9744-5-git-send-email-anton.vorontsov@linaro.org> X-Mailer: git-send-email 1.7.12.3 In-Reply-To: <20121015214954.GA3352@lizard> References: <20121015214954.GA3352@lizard> X-Gm-Message-State: ALoCoQkaQxDcRoy2gjwFNkkfAqsvSCAoO7txnmZSoiwMbOT1CQ5DHBopk7Sd23uJnFLGu90IPyan There are no users left, so these can be removed. Signed-off-by: Anton Vorontsov --- arch/arm/include/asm/fiq.h | 2 -- arch/arm/kernel/fiq.c | 15 --------------- 2 files changed, 17 deletions(-) diff --git a/arch/arm/include/asm/fiq.h b/arch/arm/include/asm/fiq.h index d493d0b..a293be4 100644 --- a/arch/arm/include/asm/fiq.h +++ b/arch/arm/include/asm/fiq.h @@ -36,8 +36,6 @@ struct fiq_handler { extern int claim_fiq(struct fiq_handler *f); extern void release_fiq(struct fiq_handler *f); extern void set_fiq_handler(void *start, unsigned int length); -extern void enable_fiq(int fiq); -extern void disable_fiq(int fiq); /* helpers defined in fiqasm.S: */ extern void __set_fiq_regs(unsigned long const *regs); diff --git a/arch/arm/kernel/fiq.c b/arch/arm/kernel/fiq.c index 2adda11..29b93b8 100644 --- a/arch/arm/kernel/fiq.c +++ b/arch/arm/kernel/fiq.c @@ -122,28 +122,13 @@ void release_fiq(struct fiq_handler *f) while (current_fiq->fiq_op(current_fiq->dev_id, 0)); } -static int fiq_start; - -void enable_fiq(int fiq) -{ - enable_irq(fiq + fiq_start); -} - -void disable_fiq(int fiq) -{ - disable_irq(fiq + fiq_start); -} - EXPORT_SYMBOL(set_fiq_handler); EXPORT_SYMBOL(__set_fiq_regs); /* defined in fiqasm.S */ EXPORT_SYMBOL(__get_fiq_regs); /* defined in fiqasm.S */ EXPORT_SYMBOL(claim_fiq); EXPORT_SYMBOL(release_fiq); -EXPORT_SYMBOL(enable_fiq); -EXPORT_SYMBOL(disable_fiq); void __init init_FIQ(int start) { no_fiq_insn = *(unsigned long *)0xffff001c; - fiq_start = start; }