From patchwork Fri Nov 23 00:49:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 1793311 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 44AD03FC64 for ; Fri, 23 Nov 2012 00:57:31 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TbhWk-0006ah-NY; Fri, 23 Nov 2012 00:53:54 +0000 Received: from mail-ob0-f177.google.com ([209.85.214.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TbhWM-0006UI-Da for linux-arm-kernel@lists.infradead.org; Fri, 23 Nov 2012 00:53:34 +0000 Received: by mail-ob0-f177.google.com with SMTP id eh20so8362182obb.36 for ; Thu, 22 Nov 2012 16:53:30 -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=YO1koPPCaJrrhJYlKxmVZm9Aj8ZgxUhjfgJ84/Xkz7c=; b=GC6KZGtAHJV1Mf6o2quR8hTulJ3zu8dXTpkv2MgbZk1DBhzCzkhNnYWatfwyLndE7K h+Di52LmxrD7Q+p9dQn2WU0zBLGow4ayAPTvQJFkHvuKE4MvxFf+T+mHC0biuXAAorkI eOnCTSaiK0/j9CvWYp6AblWk5VcIAvbSOg5Ic5PhSXXxcB9Mi84L3qb5Rm2Bq0QHuwR5 G66HWLcbOJdz1sXydnAbMWG4iyitR/st4kapLcjpTI+Sepgh4QTyt4HGsHBhgHpAynSQ pZ36mnAaplu1ayGXhHoEQV5f2LOMKvANBESwAmGF/4ulGwlq8NkaQXL8jf7UVrVcCGn8 C9+g== Received: by 10.182.18.165 with SMTP id x5mr1646809obd.73.1353632009881; Thu, 22 Nov 2012 16:53:29 -0800 (PST) Received: from localhost (ip-64-134-239-153.public.wayport.net. [64.134.239.153]) by mx.google.com with ESMTPS id f7sm3532229oef.8.2012.11.22.16.53.28 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Nov 2012 16:53:29 -0800 (PST) From: Anton Vorontsov To: Andrew Morton Subject: [PATCH 02/10] ARM: plat-s3c24xx: Don't use FIQ_START Date: Thu, 22 Nov 2012 16:49:55 -0800 Message-Id: <1353631803-4853-2-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: ALoCoQlWV1PN0SIyNeAg3AOa+dgLjD5H/L44IhDKfZd5PvLvDDU+T8hdOE4pr3XZvw4AqqmqayyJ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121122_195330_751021_21E9F1A9 X-CRM114-Status: GOOD ( 11.73 ) 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.214.177 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 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;