From patchwork Tue Jul 30 12:40:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejun Heo X-Patchwork-Id: 2835622 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 484F3C0319 for ; Tue, 30 Jul 2013 12:43:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1C1ED203DC for ; Tue, 30 Jul 2013 12:43:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5066E20397 for ; Tue, 30 Jul 2013 12:43:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752982Ab3G3Mko (ORCPT ); Tue, 30 Jul 2013 08:40:44 -0400 Received: from mail-qe0-f52.google.com ([209.85.128.52]:58460 "EHLO mail-qe0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752685Ab3G3Mki (ORCPT ); Tue, 30 Jul 2013 08:40:38 -0400 Received: by mail-qe0-f52.google.com with SMTP id cz11so2952721qeb.11 for ; Tue, 30 Jul 2013 05:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=ngstcdmdCnGbX0hcgfloqVkX5Lr1BIC6urhZ+8HsFY0=; b=Z+fzqFdNwQzJrD5X8NTpVFhGjwlKTv21sKTNobb/y7SKJktWb365LucyeO3zfbEJfA rLWli/FN4DnDCykxp3LxLb029VSJ+ien17UyZuolUEn7Na1/Qv10uT4OmJBIRBBtUrcw Kyw3lQEvWUwIVELmwEpuajjLqYs9DlBWA4er001KSqMuKAKuY8kbQ2AZddjf73uyGPTy KbW1vkrQUEYDbzX/ac48Bzwu6czwEL9nsXXdNWaaS9IuoVPnLhPruZgDbvPK7rwuyEWo hSRIQK9d7AvrpH5wj/cmCSb4U9Pt4MK32D4qEPz7A9URIkQQb4dlUbGei+m1QuXgYKj0 t7vw== X-Received: by 10.224.138.8 with SMTP id y8mr30412785qat.27.1375188037772; Tue, 30 Jul 2013 05:40:37 -0700 (PDT) Received: from htj.lan (207-38-225-25.c3-0.43d-ubr1.qens-43d.ny.cable.rcn.com. [207.38.225.25]) by mx.google.com with ESMTPSA id w2sm84174871qec.8.2013.07.30.05.40.36 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 30 Jul 2013 05:40:37 -0700 (PDT) From: Tejun Heo To: linux-kernel@vger.kernel.org, laijs@cn.fujitsu.com Cc: shli@kernel.org, Tejun Heo , Chris Ball , linux-mmc@vger.kernel.org Subject: [PATCH 3/9] mmc: WQ_NON_REENTRANT is meaningless and going away Date: Tue, 30 Jul 2013 08:40:22 -0400 Message-Id: <1375188028-11910-4-git-send-email-tj@kernel.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1375188028-11910-1-git-send-email-tj@kernel.org> References: <1375188028-11910-1-git-send-email-tj@kernel.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, Please route this through the subsystem tree. As written in the description, this shouldn't make any functional difference and just prepares for the removal of WQ_NON_REENTRANT which is already noop. Thanks. ------ 8< ------- dbf2576e37 ("workqueue: make all workqueues non-reentrant") made WQ_NON_REENTRANT no-op and the flag is going away. Remove its usages. This patch doesn't introduce any behavior changes. Signed-off-by: Tejun Heo Cc: Chris Ball Cc: linux-mmc@vger.kernel.org --- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index ee5f167..b37e3c2 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -2340,7 +2340,7 @@ int dw_mci_probe(struct dw_mci *host) tasklet_init(&host->tasklet, dw_mci_tasklet_func, (unsigned long)host); host->card_workqueue = alloc_workqueue("dw-mci-card", - WQ_MEM_RECLAIM | WQ_NON_REENTRANT, 1); + WQ_MEM_RECLAIM, 1); if (!host->card_workqueue) { ret = -ENOMEM; goto err_dmaunmap;