Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce439bf7 authored by Kent Overstreet's avatar Kent Overstreet Committed by Jens Axboe
Browse files

bcache: mark closure_sync() __sched



[edit by mlyle: include sched/debug.h to get __sched]

Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: default avatarMichael Lyle <mlyle@lyle.org>
Reviewed-by: default avatarMichael Lyle <mlyle@lyle.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e4bf7919
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 };