Skip to content

Commit

Permalink
bcache: mark closure_sync() __sched
Browse files Browse the repository at this point in the history
[edit by mlyle: include sched/debug.h to get __sched]

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Michael Lyle <mlyle@lyle.org>
Reviewed-by: Michael Lyle <mlyle@lyle.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Kent Overstreet authored and Jens Axboe committed Jan 8, 2018
1 parent e4bf791 commit ce439bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/md/bcache/closure.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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 };

Expand Down

0 comments on commit ce439bf

Please sign in to comment.