EDAC, wq: Remove deprecated create_singlethread_workqueue()
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Sat, 13 Aug 2016 16:41:24 +0000 (22:11 +0530)
committerBorislav Petkov <bp@suse.de>
Mon, 15 Aug 2016 05:21:29 +0000 (07:21 +0200)
commit7bb8b777794bdeb9e53b3c0f39ed5474930a062a
tree9140d87c5ff440394bab33c1752cbf970adbb329
parent9bcd919eb84224aee2a5ed4fa33ed80aabfe0343
EDAC, wq: Remove deprecated create_singlethread_workqueue()

Replace the deprecated create_singlethread_workqueue() with
alloc_ordered_workqueue() with WQ_MEM_RECLAIM. This is the identity
conversion.

It's not recommended to stall it from memory pressure. Hence,
WQ_MEM_RECLAIM has been set to ensure forward progress under memory
pressure.

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20160813164124.GA9077@Karyakshetra
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/wq.c