arm64: Delay ELF HWCAP initialisation until all CPUs are up
authorSuzuki K. Poulose <[email protected]>
Mon, 19 Oct 2015 13:24:39 +0000 (14:24 +0100)
committerCatalin Marinas <[email protected]>
Wed, 21 Oct 2015 14:33:15 +0000 (15:33 +0100)
commit3a75578efae64b94d76eacbf8adf2a3ab13c6aa1
treef71756fc694a5b09332eada3813a0cabbd604b73
parent64f17818977d0989f7d05347670777611b295799
arm64: Delay ELF HWCAP initialisation until all CPUs are up

Delay the ELF HWCAP initialisation until all the (enabled) CPUs are
up, i.e, smp_cpus_done(). This is in preparation for detecting the
common features across the CPUS and creating a consistent ELF HWCAP
for the system.

Signed-off-by: Suzuki K. Poulose <[email protected]>
Tested-by: Dave Martin <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/setup.c
arch/arm64/kernel/smp.c