提交 0ffd4707 编写于 作者: Y Yang Yingliang 提交者: Xie XiuQi

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: NYang Yingliang <yangyingliang@huawei.com>
上级 75b7f801
...@@ -410,11 +410,7 @@ iopf_queue_alloc(const char *name, iopf_queue_flush_t flush, void *cookie) ...@@ -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 * that's dealt with, the high-level function can handle groups out of
* order. * 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); queue->wq = alloc_workqueue("iopf_queue/%s", WQ_UNBOUND, 0, name);
#endif
if (!queue->wq) { if (!queue->wq) {
kfree(queue); kfree(queue);
return NULL; return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册