arm64: Add a helper for parking CPUs in a loop
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 23 Feb 2016 10:31:39 +0000 (10:31 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 24 Feb 2016 17:17:44 +0000 (17:17 +0000)
commitc4bc34d20273db698c51951a1951dba0a722e162
tree2c453a2ceef319fab387415016f9c7cb6039f979
parent2b5fe07a78a09a32002642b8a823428ade611f16
arm64: Add a helper for parking CPUs in a loop

Adds a routine which can be used to park CPUs (spinning in kernel)
when they can't be killed.

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