From patchwork Wed Oct 11 22:42:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jasmin J." X-Patchwork-Id: 44931 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2PiA-00063s-3N; Wed, 11 Oct 2017 22:42:46 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750749AbdJKWmn (ORCPT + 1 other); Wed, 11 Oct 2017 18:42:43 -0400 Received: from mail.anw.at ([195.234.101.228]:59909 "EHLO mail.anw.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750718AbdJKWmn (ORCPT ); Wed, 11 Oct 2017 18:42:43 -0400 Received: from hoppel.217.196.72.190 (anwhome.anw.at [195.234.103.23]) by mail.anw.at (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id v9BMgfN0004845; Thu, 12 Oct 2017 00:42:41 +0200 From: "Jasmin J." To: linux-media@vger.kernel.org Cc: hverkuil@xs4all.nl, d.scheller@gmx.net, jasmin@anw.at Subject: [PATCH] build: Update backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch Date: Thu, 12 Oct 2017 00:42:36 +0200 Message-Id: <1507761756-23020-1-git-send-email-jasmin@anw.at> X-Mailer: git-send-email 2.7.4 X-Antivirus: checked in 0.018sec at mail.anw.at ([195.234.102.72]) by smf-clamd v1.2.1 - http://smfs.sf.net/ Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Jasmin Jessich Signed-off-by: Jasmin Jessich --- backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch b/backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch index 89f508f..19d45f3 100644 --- a/backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch +++ b/backports/v2.6.37_dont_use_alloc_ordered_workqueue.patch @@ -2,13 +2,13 @@ diff --git a/drivers/media/pci/cx18/cx18-driver.c b/drivers/media/pci/cx18/cx18- index 004d8ac..6508785 100644 --- a/drivers/media/pci/cx18/cx18-driver.c +++ b/drivers/media/pci/cx18/cx18-driver.c -@@ -695,7 +695,7 @@ static int cx18_create_in_workq(struct cx18 *cx) +@@ -697,7 +697,7 @@ static int cx18_create_in_workq(struct cx18 *cx) { snprintf(cx->in_workq_name, sizeof(cx->in_workq_name), "%s-in", cx->v4l2_dev.name); - cx->in_work_queue = alloc_ordered_workqueue(cx->in_workq_name, 0); + cx->in_work_queue = create_singlethread_workqueue(cx->in_workq_name); - if (cx->in_work_queue == NULL) { + if (!cx->in_work_queue) { CX18_ERR("Unable to create incoming mailbox handler thread\n"); return -ENOMEM; @@ -703,6 +703,18 @@ static int cx18_create_in_workq(struct cx18 *cx)