summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/smp.h
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2016-02-23 11:31:40 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2016-02-24 18:17:44 +0100
commitee02a15919cf86c004142edaa05b43f7ff10edf0 (patch)
tree37435b0fb5e425ce1dbfb5f7c106ad362fc97708 /arch/arm64/include/asm/smp.h
parentarm64: Add a helper for parking CPUs in a loop (diff)
downloadlinux-ee02a15919cf86c004142edaa05b43f7ff10edf0.tar.xz
linux-ee02a15919cf86c004142edaa05b43f7ff10edf0.zip
arm64: Introduce cpu_die_early
Or in other words, make fail_incapable_cpu() reusable. We use fail_incapable_cpu() to kill a secondary CPU early during the bringup, which doesn't have the system advertised capabilities. This patch makes the routine more generic, to kill a secondary booting CPU, getting rid of the dependency on capability struct. This can be used by checks which are not necessarily attached to a capability struct (e.g, cpu ASIDBits). In that process, renames the function to cpu_die_early() to better match its functionality. This will be moved to arch/arm64/kernel/smp.c later. Cc: Mark Rutland <mark.rutland@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/smp.h')
0 files changed, 0 insertions, 0 deletions