提交 ce439bf7 编写于 作者: K Kent Overstreet 提交者: Jens Axboe

bcache: mark closure_sync() __sched

[edit by mlyle: include sched/debug.h to get __sched]
Signed-off-by: NKent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: NMichael Lyle <mlyle@lyle.org>
Reviewed-by: NMichael Lyle <mlyle@lyle.org>
Signed-off-by: NJens Axboe <axboe@kernel.dk>
上级 e4bf7919
......@@ -8,6 +8,7 @@
#include <linux/debugfs.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/sched/debug.h>
#include "closure.h"
......@@ -107,7 +108,7 @@ static void closure_sync_fn(struct closure *cl)
wake_up_process(cl->s->task);
}
void __closure_sync(struct closure *cl)
void __sched __closure_sync(struct closure *cl)
{
struct closure_syncer s = { .task = current };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册