From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Lyle Subject: [for-416 PATCH 2/2] bcache: mark closure_sync() __sched Date: Sat, 30 Dec 2017 15:09:34 -0800 Message-ID: <20171230230934.910-2-mlyle@lyle.org> References: <20171230230934.910-1-mlyle@lyle.org> Return-path: In-Reply-To: <20171230230934.910-1-mlyle@lyle.org> Sender: linux-block-owner@vger.kernel.org To: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org Cc: Kent Overstreet , Michael Lyle List-Id: linux-bcache@vger.kernel.org From: Kent Overstreet [edit by mlyle: include sched/debug.h to get __sched] Signed-off-by: Kent Overstreet Signed-off-by: Michael Lyle Reviewed-by: Michael Lyle --- drivers/md/bcache/closure.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c index 8a4f4e4f5537..23eb3d1223e7 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 }; -- 2.14.1