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

Commit 2a97a3e2 authored by Maulik Shah's avatar Maulik Shah Committed by Lina Iyer
Browse files

cpuidle: lpm-levels: Correctly init 32bit ops for SMP systems



SMP systems needs to pass each cpu number to init cpuidle ops.
Correctly pass cpu number to init function.

Change-Id: I0aac47abe155cbd9f25c8c020d641aea4f2c122c
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 8b6b8fd3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1739,7 +1739,7 @@ static int __init lpm_levels_module_init(void)
	int cpu;

	for_each_possible_cpu(cpu) {
		rc = arm_cpuidle_init(smp_processor_id());
		rc = arm_cpuidle_init(cpu);
		if (rc) {
			pr_err("CPU%d ARM CPUidle init failed (%d)\n", cpu, rc);
			return rc;