提交 7a7dc5b5 编写于 作者: J Joseph Qi

io_uring: fix build error on arm

Fix the following build error on arm
fs/io-wq.c: In function '__io_worker_unuse':
fs/io-wq.c:158:3: error: implicit declaration of function 'set_fs' [-Werror=implicit-function-declaration]
  158 |   set_fs(KERNEL_DS);
      |   ^~~~~~

Fixes: 1716578f ("io_uring: replace workqueue usage with io-wq")
Signed-off-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: NXiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
上级 536f70b4
......@@ -16,6 +16,7 @@
#include <linux/slab.h>
#include <linux/kthread.h>
#include <linux/rculist_nulls.h>
#include <linux/uaccess.h>
#include "io-wq.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册