VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Will Deacon <will@kernel.org> 2021-07-30 12:24:33 +0100 committer: Peter Zijlstra <peterz@infradead.org> 2021-08-20 12:33:00 +0200 commit: b90ca8badbd11488e5f762346b028666808164e7 parent: 234a503e670be01f72841be9fcf68dfb89a1fa8b
Commit Summary:
sched: Introduce task_struct::user_cpus_ptr to track requested affinity
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/init/init_task.c b/init/init_task.c
index 562f2ef8d157..2d024066e27b 100644
--- a/init/init_task.c
+++ b/init/init_task.c
@@ -80,6 +80,7 @@ struct task_struct init_task
 	.normal_prio	= MAX_PRIO - 20,
 	.policy		= SCHED_NORMAL,
 	.cpus_ptr	= &init_task.cpus_mask,
+	.user_cpus_ptr	= NULL,
 	.cpus_mask	= CPU_MASK_ALL,
 	.nr_cpus_allowed= NR_CPUS,
 	.mm		= NULL,