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

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

Merge "arm: psci: add psci_cpu_can_disable() function"

parents 8b25b069 56d48262
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -112,6 +112,11 @@ int psci_cpu_kill(unsigned int cpu)
	return 0;
}

bool psci_cpu_can_disable(unsigned int cpu)
{
	return true;
}

#endif

bool __init psci_smp_available(void)
@@ -126,5 +131,6 @@ const struct smp_operations psci_smp_ops __initconst = {
	.cpu_disable		= psci_cpu_disable,
	.cpu_die		= psci_cpu_die,
	.cpu_kill		= psci_cpu_kill,
	.cpu_can_disable	= psci_cpu_can_disable,
#endif
};