From patchwork Wed Sep 7 08:10:30 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Zhang X-Patchwork-Id: 1127982 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p87H26xg003270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Sep 2011 17:02:27 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1R1Fnn-0006Ig-9c; Wed, 07 Sep 2011 10:56:20 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1R1Fnm-00062O-Ad; Wed, 07 Sep 2011 10:56:18 +0000 Received: from mail-ww0-f49.google.com ([74.125.82.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1R1FnR-0005x8-FN for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2011 10:55:58 +0000 Received: by wwf10 with SMTP id 10so4930097wwf.18 for ; Wed, 07 Sep 2011 03:55:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=uz4/skqVPgD7BJio8A1M9OK0S5ED4Gycwcyuq5tBZKA=; b=eNDpQ1MXN+fJWWyXmV/xqoWxhueYOMmRzhluX1so2f41c05USCqviKpV2qRrMv0Egr aCDBTE0167bcdRg1941lrbVw2eMWrSAkNCJm31GNhTGqxrfp5JIQ4cFgX+J7l2JstC/Z m8G7vWSV2N1RDeWAhtANWoTnpdz71tkWsgy/c= Received: by 10.216.134.155 with SMTP id s27mr4447778wei.98.1315383441953; Wed, 07 Sep 2011 01:17:21 -0700 (PDT) Received: from localhost ([61.148.56.138]) by mx.google.com with ESMTPS id p19sm2812402wbm.16.2011.09.07.01.17.20 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 01:17:21 -0700 (PDT) From: Yong Zhang To: linux-kernel@vger.kernel.org Subject: [PATCH 33/62] dmaengine: irq: Remove IRQF_DISABLED Date: Wed, 7 Sep 2011 16:10:30 +0800 Message-Id: <1315383059-3673-34-git-send-email-yong.zhang0@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1315383059-3673-1-git-send-email-yong.zhang0@gmail.com> References: <1315383059-3673-1-git-send-email-yong.zhang0@gmail.com> X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110907_065557_736998_17C9224F X-CRM114-Status: GOOD ( 13.27 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (yong.zhang0[at]gmail.com) 0.1 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (yong.zhang0[at]gmail.com) -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 T_TO_NO_BRKTS_FREEMAIL To: misformatted and free email service Cc: Linus Walleij , Vinod Koul , mingo@elte.hu, tglx@linutronix.de, Dan Williams , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 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 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 07 Sep 2011 17:02:27 +0000 (UTC) This flag is a NOOP and can be removed now. Signed-off-by: Yong Zhang --- drivers/dma/amba-pl08x.c | 2 +- drivers/dma/coh901318.c | 2 +- drivers/dma/shdma.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index be21e3f..3688256 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c @@ -1930,7 +1930,7 @@ static int pl08x_probe(struct amba_device *adev, const struct amba_id *id) writel(0x000000FF, pl08x->base + PL080_ERR_CLEAR); writel(0x000000FF, pl08x->base + PL080_TC_CLEAR); - ret = request_irq(adev->irq[0], pl08x_irq, IRQF_DISABLED, + ret = request_irq(adev->irq[0], pl08x_irq, 0, DRIVER_NAME, pl08x); if (ret) { dev_err(&adev->dev, "%s failed to request interrupt %d\n", diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c index 4234f41..1dd9455 100644 --- a/drivers/dma/coh901318.c +++ b/drivers/dma/coh901318.c @@ -1506,7 +1506,7 @@ static int __init coh901318_probe(struct platform_device *pdev) if (irq < 0) goto err_no_irq; - err = request_irq(irq, dma_irq_handler, IRQF_DISABLED, + err = request_irq(irq, dma_irq_handler, 0, "coh901318", base); if (err) { dev_crit(&pdev->dev, diff --git a/drivers/dma/shdma.c b/drivers/dma/shdma.c index 7f49235..8c137d2 100644 --- a/drivers/dma/shdma.c +++ b/drivers/dma/shdma.c @@ -1106,7 +1106,7 @@ static void sh_dmae_chan_remove(struct sh_dmae_device *shdev) static int __init sh_dmae_probe(struct platform_device *pdev) { struct sh_dmae_pdata *pdata = pdev->dev.platform_data; - unsigned long irqflags = IRQF_DISABLED, + unsigned long irqflags = 0, chan_flag[SH_DMAC_MAX_CHANNELS] = {}; int errirq, chan_irq[SH_DMAC_MAX_CHANNELS]; int err, i, irq_cnt = 0, irqres = 0, irq_cap = 0; @@ -1266,7 +1266,7 @@ static int __init sh_dmae_probe(struct platform_device *pdev) IORESOURCE_IRQ_SHAREABLE) chan_flag[irq_cnt] = IRQF_SHARED; else - chan_flag[irq_cnt] = IRQF_DISABLED; + chan_flag[irq_cnt] = 0; dev_dbg(&pdev->dev, "Found IRQ %d for channel %d\n", i, irq_cnt);