Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6bc30243 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: walt: Fix warning introduced in sched_fork"

parents 6f170a25 d8e68e7c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2426,9 +2426,10 @@ static inline void init_schedstats(void) {}
int sched_fork(unsigned long clone_flags, struct task_struct *p)
{
	unsigned long flags;
	int cpu = get_cpu();
	int cpu;

	init_new_task_load(p, false);
	cpu = get_cpu();
	__sched_fork(clone_flags, p);
	/*
	 * We mark the process as NEW here. This guarantees that