From patchwork Mon Oct 15 21:51:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 1596921 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 E2B3FDFB34 for ; Mon, 15 Oct 2012 21:56:57 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TNsci-0008Lj-VV; Mon, 15 Oct 2012 21:54:57 +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 1TNscT-0008IB-Ry for linux-arm-kernel@lists.infradead.org; Mon, 15 Oct 2012 21:54:42 +0000 Received: by mail-pb0-f49.google.com with SMTP id xa7so5573133pbc.36 for ; Mon, 15 Oct 2012 14:54:40 -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=f9sftz1eOLjYUjAQ6V4hJAqKkhXYcv0Dz3NQwaJv+zo=; b=mSOnRUYu3lK2BX+9y/PXh9RO8d74GRer8Bo+21dii9AXBOi8L9AyhV93aCGfJ6+B03 DlvEKCw8MoXroyfaCOBubrcoTfC1Ys4uvpSQVZR07R6qdrMI/CwX72c6VQemfBrMcKHV lZpgiJYqddePyQf8umboN23PfEDeWHth12kvYP85KIqW1rJAoyndXC4RbkkDm/n1Zz5H qEO9HNOwfpMZ5uPMM5HSzVdNXYgkBOHcvauZD1j8a9yZvR43SduFF5XP5Sjj+HrDQ9JL YAv1kNEQE1BqZiGA9CuJmhYnIsfKTZgSrgbdM9ABwwbXjlQuM7J0SbQ+2XHE0gU+EebL R0CQ== Received: by 10.68.189.5 with SMTP id ge5mr41120733pbc.1.1350338080128; Mon, 15 Oct 2012 14:54:40 -0700 (PDT) Received: from localhost (ip-64-134-230-8.public.wayport.net. [64.134.230.8]) by mx.google.com with ESMTPS id od2sm9626504pbb.28.2012.10.15.14.54.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 15 Oct 2012 14:54:39 -0700 (PDT) From: Anton Vorontsov To: Russell King Subject: [PATCH 02/10] ARM: plat-s3c24xx: Don't use FIQ_START Date: Mon, 15 Oct 2012 14:51:26 -0700 Message-Id: <1350337894-9744-2-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: ALoCoQkTQ9fQ8K/kzrfpVm4rw3RNbdMKR3CVXHL+F++8H+Ji0kF5uPP7r6myWnGRh2hKJljzQ8/9 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 We're about to remove FIQ_START mess, so move the platform-specific detail inside platform-specific s3c24xx_set_fiq(). Signed-off-by: Anton Vorontsov Acked-by: Kukjin Kim --- arch/arm/plat-s3c24xx/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/plat-s3c24xx/irq.c b/arch/arm/plat-s3c24xx/irq.c index fe57bbb..e4e9567 100644 --- a/arch/arm/plat-s3c24xx/irq.c +++ b/arch/arm/plat-s3c24xx/irq.c @@ -503,7 +503,7 @@ int s3c24xx_set_fiq(unsigned int irq, bool on) unsigned offs; if (on) { - offs = irq - FIQ_START; + offs = irq - IRQ_EINT0; if (offs > 31) return -EINVAL;