From patchwork Sun Jan 13 23:27:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 211668 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 88A462C0106 for ; Mon, 14 Jan 2013 10:33:25 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754879Ab3AMXdY (ORCPT ); Sun, 13 Jan 2013 18:33:24 -0500 Received: from mail-la0-f73.google.com ([209.85.215.73]:62794 "EHLO mail-la0-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751663Ab3AMXdY (ORCPT ); Sun, 13 Jan 2013 18:33:24 -0500 Received: by mail-la0-f73.google.com with SMTP id fq13so214225lab.2 for ; Sun, 13 Jan 2013 15:33:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=ARoPjZSzm47z9pp6jh8IeVEGFA8GBAEk67qzpeTDBec=; b=CoEOGxoLA/JrSbdgOjQvsuzBFBukKHUjcF/7QRAyiJnT62hIy5MmkZ3gJZgfOAfG5q L9CtuROGBN/uVEfl3mrhb2M+8HrJ9EZsPulzvV5AB3mSbmBy+WzZIMbC1IfCCF31RlBr 3Roz6Nfny/gZSQICKKUYu2229VJxaSN7RYo4BT/Ic+Lsvn1bqCdvTNZ8UvUs5S3sWj8g VNqsj3t83SiiwpvV9N4EDdophz/Bf9W3KFk43llfT0yHDRnP7DITqcopabyV+AmT6I26 +yFs6s9zOjmMcUfgcNEuM/Xb9D2xdo4AoPyEPSkJ3upVYd709YAEDGo9kxZFVf7yqJmp Wnmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=ARoPjZSzm47z9pp6jh8IeVEGFA8GBAEk67qzpeTDBec=; b=kYLLFe38afUR6aP8VwdqG9S6gjdurUZlmc4rmp40lX81Q33svg8ZVptVN81muJPMPC K7FipGcdWGYYf/vXUcAIYWq3g5N9BtxmKq1T/cNantliS2ThAz39YbCCyGxfQ+YBfkEl tpefe0l/RNnJ2dkFpkRVHZ+B81/tWI/Ek6WW1Rmp1CJ0aaTU154p4M4yU7MLS3mBiu1Q rRQGJ4jiN8qCe4AnTNZ6lLsBpXiRg3emiXIy5KVoleu6FC6SiyP75C/hGEyoeq5iVv9M +mGa9C+rIP3cQWfdhZFuo0VecDxjRAU+iEJnZ1/HAQp7SRu4VeENHro3fNTWMso5I1Sv mM9A== X-Received: by 10.14.180.2 with SMTP id i2mr19614018eem.1.1358119664260; Sun, 13 Jan 2013 15:27:44 -0800 (PST) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id g9si4440635eeo.1.2013.01.13.15.27.44 (version=TLSv1 cipher=AES128-SHA bits=128/128); Sun, 13 Jan 2013 15:27:44 -0800 (PST) Received: from bhelgaas.mtv.corp.google.com (bhelgaas.mtv.corp.google.com [172.17.131.112]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id B074D20004E; Sun, 13 Jan 2013 15:27:43 -0800 (PST) Received: from bhelgaas.mtv.corp.google.com (unknown [IPv6:::1]) by bhelgaas.mtv.corp.google.com (Postfix) with ESMTP id 1269618024D; Sun, 13 Jan 2013 15:27:43 -0800 (PST) Subject: [PATCH v7 2/4] PCI: shpchp: Make shpchp_wq non-ordered To: Yijing Wang , linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: linux-kernel@vger.kernel.org, Daniel J Blueman , Kenji Kaneshige , Tejun Heo , Yinghai Lu , Jiang Liu Date: Sun, 13 Jan 2013 16:27:43 -0700 Message-ID: <20130113232743.7225.11180.stgit@bhelgaas.mtv.corp.google.com> In-Reply-To: <20130113232606.7225.94802.stgit@bhelgaas.mtv.corp.google.com> References: <20130113232606.7225.94802.stgit@bhelgaas.mtv.corp.google.com> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQneOL+6WcZVQmhDuNfWjOPOCesxMlIUfOempHgeCRUzmbANA0iT2bG727dUKB4lazHhXsv3tJOArs5a6DDvL3oUVE2ouDp3gABeAii7ZmmsfGheFg84tbmEyZDeLX2ePbRMwiu8LWfn4IPQwpxWg702BesXIytGzRm246mri3lcsEgyH5No4UBbQPp1R7lC8qvNstnEcorBDqYIpyPO1950en92jw== Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org e24dcbef93 ("shpchp: update workqueue usage") was described as adding non-ordered shpchp_wq, but it actually made it an *ordered* workqueue. This patch changes shpchp_wq to be non-ordered, as described in the e24dcbef93 commit log and as was done for pciehp by a827ea307b ("pciehp: update workqueue usage"). Signed-off-by: Bjorn Helgaas CC: Tejun Heo Acked-by: Tejun Heo --- drivers/pci/hotplug/shpchp_core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pci/hotplug/shpchp_core.c b/drivers/pci/hotplug/shpchp_core.c index b6de307..59ca86c 100644 --- a/drivers/pci/hotplug/shpchp_core.c +++ b/drivers/pci/hotplug/shpchp_core.c @@ -366,7 +366,7 @@ static int __init shpcd_init(void) { int retval = 0; - shpchp_wq = alloc_ordered_workqueue("shpchp", 0); + shpchp_wq = alloc_workqueue("shpchp", 0, 0); if (!shpchp_wq) return -ENOMEM;