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: 1596951 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 8630A3FD9C for ; Mon, 15 Oct 2012 21:57:48 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TNsdd-0000Ea-JC; Mon, 15 Oct 2012 21:55:54 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TNsce-0008IB-Ln for linux-arm-kernel@lists.infradead.org; Mon, 15 Oct 2012 21:54:55 +0000 Received: by mail-pb0-f49.google.com with SMTP id xa7so5573133pbc.36 for ; Mon, 15 Oct 2012 14:54:52 -0700 (PDT) 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=mP3THEQ5GjeDqgEU0fqDyfp1g7J6RIhSHgl3oZMgCj0=; b=lnXq8yRbHLGsnBmYpOqBtkVOqzXkFQjPhOo5ztVlD3lwcqJ2m8xfsdTeNpH5BHT9ZQ qfqHneFOWikn2wixPkI3uplaoTMMKSAlVApFSFJaRHP/iIwpJWEsZ7V1MAhCAW1o/bAD WA/Wq951SFqXb5ypsQ4jrZ8VUBGCPAAc/c/gaKrTcV8TGv2JlBdMvD4wTfYFXLcBj2dS +kU6KwQcxD4rXB88PnkMQqzpAzK/kaQAgOJd7FSmFS4fyVd1beiyGbG1Poy6QZ4DvkFE unpfcTOLDTScOl164P1+D05OXEqU/XjoVHTzpX6gydzGdlJfb0zcFdciY5/tq4P2rYco a0rQ== 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 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: ALoCoQlc5u9QYcVVnAMv/694WOO+hvjqNDXy0GjF3LtZCTL94ci+V2sqzJ5jo2KZTtTfWYO0zaHX X-Spam-Note: CRM114 invocation failed 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.160.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, Sascha Hauer , patches@linaro.org, Tony Lindgren , Mark Brown , linux-kernel@vger.kernel.org, Kukjin Kim , John Stultz , Ben Dooks , kernel-team@android.com, Liam Girdwood , 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; }