Thread (15 messages) 15 messages, 2 authors, 2018-01-08
STALE3100d REVIEWED: 1 (0M)

[416 PATCH 09/13] bcache: mark closure_sync() __sched

From: Michael Lyle <hidden>
Date: 2018-01-08 20:21:51
Also in: linux-block
Subsystem: bcache (block layer cache), the rest · Maintainers: Coly Li, Kent Overstreet, Linus Torvalds

From: Kent Overstreet <redacted>

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

Signed-off-by: Kent Overstreet <redacted>
Signed-off-by: Michael Lyle <redacted>
Reviewed-by: Michael Lyle <redacted>
---
 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 ca7ace6962a4..7f12920c14f7 100644
--- a/drivers/md/bcache/closure.c
+++ b/drivers/md/bcache/closure.c
@@ -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 };
 
-- 
2.14.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help