arm64: Move cpu_die_early to smp.c
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 23 Feb 2016 10:31:41 +0000 (10:31 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 24 Feb 2016 17:17:45 +0000 (17:17 +0000)
commitfce6361fe9b0caeba0c05b7d72ceda406f8780df
treed04466352864b3f0f8f3c98e003ce0ae8986ecae
parentee02a15919cf86c004142edaa05b43f7ff10edf0
arm64: Move cpu_die_early to smp.c

This patch moves cpu_die_early to smp.c, where it fits better.
No functional changes, except for adding the necessary checks
for CONFIG_HOTPLUG_CPU.

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>
arch/arm64/include/asm/smp.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/smp.c