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: 13092 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 2C25623E13 for ; Fri, 23 Nov 2012 00:53:40 +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 D524BA18BD0 for ; Fri, 23 Nov 2012 00:53:39 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so1226114ieb.11 for ; Thu, 22 Nov 2012 16:53:39 -0800 (PST) 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=O6Stfq0aUC9OX/sl44d0g17Gx/ceL+ww59+Uzh4jHg8=; b=LOu8P2yKx3cm8VorDEWcBrSIGz9cHa/HBwwmKu0IoqgN2Ktav/mLZJ+bqdhKCvXEWv inRvLSpTjAB/Y2oPV2msCiyHvtsOZOB3Kq2tZWvFY9PT2C4pCEyvuyAfWod/VpmYtW0B mT6z08eU6VBVjQiI59oclsoWX9/lqxmfNptUzMlmj6UDkVSk2ghee5Qqgh+EJVYG2ogz WGjSPqPSz/6Errrvu0xgiD5Q7WESThZ9Oi5QXjC+/M8x9YyJn1PGcHJf3+bg9FDeEsLX QUCDDSKMJK1ggeX1xs6eBGaSLMDPN1dpgX/lB7xZyAl7ySwmeF2HBFGi5wqh2yZDbSwb XbVA== Received: by 10.50.173.34 with SMTP id bh2mr2022253igc.70.1353632019656; Thu, 22 Nov 2012 16:53:39 -0800 (PST) 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 n20csp282394igt; Thu, 22 Nov 2012 16:53:39 -0800 (PST) Received: by 10.60.4.136 with SMTP id k8mr1643943oek.94.1353632019127; Thu, 22 Nov 2012 16:53:39 -0800 (PST) Received: from mail-oa0-f52.google.com (mail-oa0-f52.google.com [209.85.219.52]) by mx.google.com with ESMTPS id q5si2125745oeg.40.2012.11.22.16.53.39 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Nov 2012 16:53:39 -0800 (PST) Received-SPF: neutral (google.com: 209.85.219.52 is neither permitted nor denied by best guess record for domain of anton.vorontsov@linaro.org) client-ip=209.85.219.52; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.219.52 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-oa0-f52.google.com with SMTP id o6so7424155oag.25 for ; Thu, 22 Nov 2012 16:53:38 -0800 (PST) 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 Cc: Russell King , Jason Wessel , 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 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: ALoCoQnBMusThXVXiu3pz3IF6Kq+nEk+OaY/qMSiQnVH7Q/w5s8wh591cpLvIxomzj4pTkSDZ9Ua 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; }