From: Kent Overstreet Date: Mon, 8 Jan 2018 20:21:26 +0000 (-0800) Subject: bcache: mark closure_sync() __sched X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ce439bf78b4850cadb1e67f0d4a48178d489c75d;p=openwrt%2Fstaging%2Fblogic.git bcache: mark closure_sync() __sched [edit by mlyle: include sched/debug.h to get __sched] Signed-off-by: Kent Overstreet Signed-off-by: Michael Lyle Reviewed-by: Michael Lyle Signed-off-by: Jens Axboe --- diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c index ca7ace6962a4..7f12920c14f7 100644 --- a/drivers/md/bcache/closure.c +++ b/drivers/md/bcache/closure.c @@ -8,6 +8,7 @@ #include #include #include +#include #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 };