Permalink
Browse files

ARM: exynos: implement cpu_kill

  • Loading branch information...
fourkbomb committed Nov 14, 2017
1 parent 905ea33 commit 94449a25c03fee92a91640a6fdccf140164f8ae3
Showing with 6 additions and 0 deletions.
  1. +6 −0 arch/arm/mach-exynos/platsmp.c
@@ -446,6 +446,11 @@ static void exynos_cpu_die(unsigned int cpu)
if (spurious)
pr_warn("CPU%u: %u spurious wakeup calls\n", cpu, spurious);
}

static int exynos_cpu_kill(unsigned int cpu)
{
return 1;
}
#endif /* CONFIG_HOTPLUG_CPU */

const struct smp_operations exynos_smp_ops __initconst = {
@@ -454,5 +459,6 @@ const struct smp_operations exynos_smp_ops __initconst = {
.smp_boot_secondary = exynos_boot_secondary,
#ifdef CONFIG_HOTPLUG_CPU
.cpu_die = exynos_cpu_die,
.cpu_kill = exynos_cpu_kill,
#endif
};

0 comments on commit 94449a2

Please sign in to comment.