From patchwork Sun Aug 5 23:03:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 10492 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 8203F24048 for ; Sun, 5 Aug 2012 23:08:05 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 4AC8BA18036 for ; Sun, 5 Aug 2012 23:08:05 +0000 (UTC) Received: by ggnf1 with SMTP id f1so1999193ggn.11 for ; Sun, 05 Aug 2012 16:08:04 -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=SO9hG8zzyGNzF/k/VXW+ryUpxjF/iB4eMFxBo8pBBro=; b=LO87dczCkmSN+1J54WLAXZEPIebQZ1x7/hEHg7F08yLwXOQxg96NcuK8HXhVArm8Uo UJyklRkXcF7Hc2ayvahXMV+Pt7i5GAZY4yVSCqFC01VFHHNd55C2UGgiwziVqbyh11J0 Cvr8v1hEUlk9mR7O5TvRuKdFp//hW03mgTRPpyLZ6xlwwdNuZcRp9Q3NxQ72f6nnxexa P2xqo4+5lbq11+UCA7KnyMypwUSSz0ZLdI9+NkZaH1LCOZ+9ZbV1TjENgyHhJJDuAJZg d1/3CZGW4qUpE+W9pGXYzQyFeUiWTWbxvMnfEXcq/iEfrJqcTQBo8QT47ZCYr6ciHbOK Do1g== Received: by 10.50.163.5 with SMTP id ye5mr3863535igb.51.1344208084496; Sun, 05 Aug 2012 16:08:04 -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.87.40 with SMTP id u8csp412165igz; Sun, 5 Aug 2012 16:08:04 -0700 (PDT) Received: by 10.66.72.5 with SMTP id z5mr14077291pau.17.1344208083967; Sun, 05 Aug 2012 16:08:03 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id rd4si9439834pbc.190.2012.08.05.16.08.03 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Aug 2012 16:08:03 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of anton.vorontsov@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.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-pb0-f50.google.com with SMTP id md12so3221727pbc.37 for ; Sun, 05 Aug 2012 16:08:03 -0700 (PDT) Received: by 10.68.217.233 with SMTP id pb9mr14478308pbc.140.1344208083568; Sun, 05 Aug 2012 16:08:03 -0700 (PDT) Received: from localhost (m9f0536d0.tmodns.net. [208.54.5.159]) by mx.google.com with ESMTPS id pi7sm7584886pbb.56.2012.08.05.16.07.58 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Aug 2012 16:08:03 -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 5/9] ARM: FIQ: Remove enable_fiq() and disable_fiq() calls Date: Sun, 5 Aug 2012 16:03:35 -0700 Message-Id: <1344207819-3415-5-git-send-email-anton.vorontsov@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <20120805230238.GA1663@lizard> References: <20120805230238.GA1663@lizard> X-Gm-Message-State: ALoCoQl5dT9bpKJPdGAakX73a8F3+nR8nC7IG7rBs3X06MtFU/FGOvGoOArO2ZCH7iEt43iCDU48 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; }