From patchwork Sun Aug 5 23:03:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Vorontsov X-Patchwork-Id: 10489 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 77B2A24048 for ; Sun, 5 Aug 2012 23:06:48 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by fiordland.canonical.com (Postfix) with ESMTP id 3B8A6A18C3A for ; Sun, 5 Aug 2012 23:06:48 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id uo19so4871224obb.11 for ; Sun, 05 Aug 2012 16:06:48 -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=M9aiju6TNz7BFTGUjwi3X4ARJ8JmFFhPw8IsJPNbKPk=; b=TEqVrIK8Zxyc1BzaRVu9eHaoWKLdXwR/u7Sbp61Iu7x3h0ZxL61SuRuOr/GbqElFkJ ppgt7dbLtXEXZ1UjoTj6cYOJmpQ1OsqEJzqET3DisumVbspohXmpXnGKY4mw+sIFUQ3x /L1gQs66V4un3i6KKSXFLstdEseC6UD00e7Q4UjOafa5hKL0ONGVVJ5fRcJWR59FjU7W 20h4JrIJBwGjQ7TztaTz6L6S2gPS7j3Hkf5XCzC629+gu4uIwAJL4ktqlWyB+jomCWzs AoP7VchMlGty0IVNen5uvJ9T5sXhPLTG4alGLR1+eaTj3rRN1hzh+kAIpBfcTaxgAAVw YsHQ== Received: by 10.50.47.161 with SMTP id e1mr3835008ign.11.1344208007649; Sun, 05 Aug 2012 16:06:47 -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.87.40 with SMTP id u8csp412126igz; Sun, 5 Aug 2012 16:06:47 -0700 (PDT) Received: by 10.68.231.233 with SMTP id tj9mr14478511pbc.39.1344208007063; Sun, 05 Aug 2012 16:06:47 -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 ot8si5746922pbb.39.2012.08.05.16.06.46 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Aug 2012 16:06:47 -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 md12so3221361pbc.37 for ; Sun, 05 Aug 2012 16:06:46 -0700 (PDT) Received: by 10.68.241.232 with SMTP id wl8mr14496462pbc.129.1344208006832; Sun, 05 Aug 2012 16:06:46 -0700 (PDT) Received: from localhost (m9f0536d0.tmodns.net. [208.54.5.159]) by mx.google.com with ESMTPS id ql6sm7582003pbc.61.2012.08.05.16.06.40 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Aug 2012 16:06:46 -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 2/9] ARM: plat-s3c24xx: Don't use FIQ_START Date: Sun, 5 Aug 2012 16:03:32 -0700 Message-Id: <1344207819-3415-2-git-send-email-anton.vorontsov@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <20120805230238.GA1663@lizard> References: <20120805230238.GA1663@lizard> X-Gm-Message-State: ALoCoQlTX2R0Ggr647ztiQ6U77ah5fVlCd15ukN5sdZ0Np24Ao3fTlUStp36ReXSy0/WzMpF/0Uw 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;