From 0ffd47073d81a0ed66331bd8fd235b8399370b93 Mon Sep 17 00:00:00 2001 From: Yang Yingliang Date: Fri, 15 Nov 2019 21:45:19 +0800 Subject: [PATCH] Revert "drivers/iommu: Add pg fault worker queue prio" ascend inclusion category: bugfix bugzilla: NA CVE: NA ------------ It's specific code for ascend, so remove it. This reverts commit 0408afb5ce3abf8b7de55d8c66fdf18604230db9. Signed-off-by: Yang Yingliang --- drivers/iommu/io-pgfault.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/iommu/io-pgfault.c b/drivers/iommu/io-pgfault.c index 0e3cf33d4642..9025e50dff66 100644 --- a/drivers/iommu/io-pgfault.c +++ b/drivers/iommu/io-pgfault.c @@ -410,11 +410,7 @@ iopf_queue_alloc(const char *name, iopf_queue_flush_t flush, void *cookie) * that's dealt with, the high-level function can handle groups out of * order. */ -#ifdef CONFIG_ARCH_ASCEND - queue->wq = alloc_workqueue("iopf_queue/%s", WQ_HIGHPRI, 0, name); -#else queue->wq = alloc_workqueue("iopf_queue/%s", WQ_UNBOUND, 0, name); -#endif if (!queue->wq) { kfree(queue); return NULL; -- GitLab