arm64: cpufeature: expose arm64_ftr_reg struct for CTR_EL0
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 31 Aug 2016 10:31:10 +0000 (11:31 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 31 Aug 2016 12:48:15 +0000 (13:48 +0100)
commit675b0563d6b26aa97bb8fe5bbde0ab9dc358433b
treee3262548b79479ecddb9e12a23dbe86bd701b220
parent6f2b7eeff9dbadeb7366d44086aa34792a996fc9
arm64: cpufeature: expose arm64_ftr_reg struct for CTR_EL0

Expose the arm64_ftr_reg struct covering CTR_EL0 outside of cpufeature.o
so that other code can refer to it directly (i.e., without performing the
binary search)

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c