summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/ck-sources/files/bfs462-update_inittask.patch')
-rw-r--r--sys-kernel/ck-sources/files/bfs462-update_inittask.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/files/bfs462-update_inittask.patch b/sys-kernel/ck-sources/files/bfs462-update_inittask.patch
new file mode 100644
index 000000000000..92321c7d1b59
--- /dev/null
+++ b/sys-kernel/ck-sources/files/bfs462-update_inittask.patch
@@ -0,0 +1,30 @@
+Add missing init task changes.
+
+-ck
+
+---
+ include/linux/init_task.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+Index: linux-4.0.2-ck1/include/linux/init_task.h
+===================================================================
+--- linux-4.0.2-ck1.orig/include/linux/init_task.h 2015-05-08 09:03:54.922287214 +1000
++++ linux-4.0.2-ck1/include/linux/init_task.h 2015-05-08 14:09:52.046246570 +1000
+@@ -200,6 +200,9 @@ extern struct task_group root_task_group
+ .cpus_allowed = CPU_MASK_ALL, \
+ .mm = NULL, \
+ .active_mm = &init_mm, \
++ .restart_block = { \
++ .fn = do_no_restart_syscall, \
++ }, \
+ .run_list = LIST_HEAD_INIT(tsk.run_list), \
+ .time_slice = HZ, \
+ .tasks = LIST_HEAD_INIT(tsk.tasks), \
+@@ -243,6 +246,7 @@ extern struct task_group root_task_group
+ INIT_FTRACE_GRAPH \
+ INIT_TRACE_RECURSION \
+ INIT_TASK_RCU_PREEMPT(tsk) \
++ INIT_KASAN(tsk) \
+ }
+ #else /* CONFIG_SCHED_BFS */
+ #define INIT_TASK_COMM "swapper"