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: 12240 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 A4B3D23EFB for ; Mon, 15 Oct 2012 21:54:41 +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 5A397A18395 for ; Mon, 15 Oct 2012 21:54:41 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so3982751iag.11 for ; Mon, 15 Oct 2012 14:54:41 -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=f9sftz1eOLjYUjAQ6V4hJAqKkhXYcv0Dz3NQwaJv+zo=; b=La4Df6sQuj2g6Db7D9VF4vB5Wg9djIihI1byaARLszNa+JKr/6AYq1pw63wDAHsHBo 5E1pY35PaUmewMKQnz5/bTfEcauYGtKYeJRhz3SVDjcNPqbmiGiUy/sko/NKND/NB2Wg JKmk/L4fTCYMBN64iKRgzKedmyhxYlxKDshS19DjJ/3fHM/m+WtvlgmvDLtmT+i46Eht UNqqv0a1k5tbdPjHvenIW2YtFhnbaDgu/M0tgQnWQ43sJAlYcLASvJWiDMUlKiZc9HwS YY1d1o4OGoRzKdflkIVaQCxOTDISJZb0Yj1lXRzUqPieT15rfj5GjhDZWFHM98Wm7P/R H6Wg== Received: by 10.50.152.137 with SMTP id uy9mr9998653igb.62.1350338081149; Mon, 15 Oct 2012 14:54:41 -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.67.148 with SMTP id n20csp641630igt; Mon, 15 Oct 2012 14:54:40 -0700 (PDT) Received: by 10.68.125.226 with SMTP id mt2mr40636712pbb.120.1350338080436; Mon, 15 Oct 2012 14:54:40 -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 iv8si24102935pbc.337.2012.10.15.14.54.40 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 15 Oct 2012 14:54:40 -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 md4so5917726pbc.37 for ; Mon, 15 Oct 2012 14:54:40 -0700 (PDT) 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 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 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: ALoCoQndsp0pY+k8kjGhawqWycv1SgNdzk9WYSTsR/Bn8FrFwi+kEQFCiFbTgprf5/KrLlBF73GX 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;