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

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

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

parents cba559bc 1ccde330
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -112,6 +112,12 @@ int psci_cpu_kill(unsigned int cpu)
	return 0;
}

static bool psci_cpu_can_disable(unsigned int cpu)
{
	/*Hotplug of any CPU is supported*/
	return true;
}

#endif

bool __init psci_smp_available(void)
@@ -126,5 +132,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
};