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

Commit e20d1e10 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "kernel: cpu: Handle hotplug failure for state CPUHP_AP_IDLE_DEAD"

parents f2555230 b0864c12
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -837,6 +837,7 @@ static int cpuhp_down_callbacks(unsigned int cpu, struct cpuhp_cpu_state *st,

	for (; st->state > target; st->state--) {
		ret = cpuhp_invoke_callback(cpu, st->state, false, NULL, NULL);
		BUG_ON(ret && st->state < CPUHP_AP_IDLE_DEAD);
		if (ret) {
			st->target = prev_state;
			undo_cpu_down(cpu, st);