From patchwork Fri Nov 23 00:49:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 1793351 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 8F10DDF24C for ; Fri, 23 Nov 2012 00:57:53 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TbhXV-0006mc-Bs; Fri, 23 Nov 2012 00:54:42 +0000 Received: from mail-oa0-f49.google.com ([209.85.219.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TbhWV-0006XP-NM for linux-arm-kernel@lists.infradead.org; Fri, 23 Nov 2012 00:53:44 +0000 Received: by mail-oa0-f49.google.com with SMTP id l10so8321102oag.36 for ; Thu, 22 Nov 2012 16:53:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=O6Stfq0aUC9OX/sl44d0g17Gx/ceL+ww59+Uzh4jHg8=; b=BYLDiNN7jSnvMFIMoj0Stqm8UBCslxjHtFjGnkPWhGXQ8QzYABykqxGqVg0EIOfDJu YRFhHB5IsVKsEtE1vsHjIKhGvTcKizzzTfIZlo5qF0mrtq7oO7b7FsY5t70ilJ+rYPBF UY79FygSHqvpJkyKx6D/FxHYagh81edAvO87uwlGT/Bg71k0EmFVm3Jbzit7F0AqLpyF dkYms0uZbbiJHrgAIQr3rESaDZPz3HkIhYFvB6wm7FQNKXuPnx5o0nj3t+85jnmCWcdQ C3zLvpsUWVgNFx4cfJJeciNshDXhrQOnuUflKWJrjzk7wpdfZQB5lfldFeQcIPgugwRX 7Gog== Received: by 10.182.202.39 with SMTP id kf7mr1674697obc.37.1353632018848; Thu, 22 Nov 2012 16:53:38 -0800 (PST) Received: from localhost (ip-64-134-239-153.public.wayport.net. [64.134.239.153]) by mx.google.com with ESMTPS id h2sm4468852obn.11.2012.11.22.16.53.37 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Nov 2012 16:53:38 -0800 (PST) From: Anton Vorontsov To: Andrew Morton Subject: [PATCH 05/10] ARM: FIQ: Remove enable_fiq() and disable_fiq() calls Date: Thu, 22 Nov 2012 16:49:58 -0800 Message-Id: <1353631803-4853-5-git-send-email-anton.vorontsov@linaro.org> X-Mailer: git-send-email 1.8.0 In-Reply-To: <20121123003849.GA973@lizard.mcd25758.sjc.wayport.net> References: <20121123003849.GA973@lizard.mcd25758.sjc.wayport.net> X-Gm-Message-State: ALoCoQmvMHFx1H114TYwWAzTi6+Xkr2Z/RxdJ8PtfIpBwAeg/K7JyzrWNE9aNoJ+9i9YBPm/w5H+ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121122_195339_998093_E11B27F8 X-CRM114-Status: GOOD ( 10.95 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.219.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linaro-kernel@lists.linaro.org, Russell King , patches@linaro.org, linux-kernel@vger.kernel.org, John Stultz , Jason Wessel , kernel-team@android.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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; }