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: 13089 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 B922A23E13 for ; Fri, 23 Nov 2012 00:53:31 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 56ABEA18BB3 for ; Fri, 23 Nov 2012 00:53:31 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id t4so3477189iag.11 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=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=YO1koPPCaJrrhJYlKxmVZm9Aj8ZgxUhjfgJ84/Xkz7c=; b=CCpCyvoQUFuF/VvDuEhNsMqojLe9Bv65Q99LofGj6K6LUKRRSiPeXzBrrAuhvh0uId 6VLQenD7vJQO+sCiEBS0iDCNHiTQrnxZ9mItPXOqxpSLwrX6BIrDwFCJ8eho4k4ulJ9M r+KF+36Mi77dHAXTOzeZCNKG7kui2USdOhvCN+Xa5Mt7N8qzgaTxjUnecGxz7dIcXHfy wnBC+mk29jtaX8c2Wvg0ZhYHfnmg7SdgLiSXNrziVE/QNWJV2NT6k30xxl23fFcmpWSb 4fqNe4gcpO40/C36bloWFn1NYqK46AYgu00LqYchkq3aWla4IqRZgZD65bJOFSDGuMPX 7QAQ== Received: by 10.43.125.133 with SMTP id gs5mr1818854icc.54.1353632010830; Thu, 22 Nov 2012 16:53:30 -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 n20csp282380igt; Thu, 22 Nov 2012 16:53:30 -0800 (PST) Received: by 10.182.184.102 with SMTP id et6mr1564031obc.102.1353632010175; Thu, 22 Nov 2012 16:53:30 -0800 (PST) Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) by mx.google.com with ESMTPS id zl4si4125685obb.12.2012.11.22.16.53.30 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Nov 2012 16:53:30 -0800 (PST) Received-SPF: neutral (google.com: 209.85.219.44 is neither permitted nor denied by best guess record for domain of anton.vorontsov@linaro.org) client-ip=209.85.219.44; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.219.44 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-f44.google.com with SMTP id n5so8105624oag.3 for ; Thu, 22 Nov 2012 16:53:30 -0800 (PST) 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 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 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: ALoCoQnnwdWGRZCVMIoufSP8wTxgOSkTPgJPJDxCnruB8HlE6pFfUPKvRycTF7pvjLNIZIWkNUyn 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;