diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-31 13:31:10 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-08-31 15:48:15 +0300 |
commit | 675b0563d6b26aa97bb8fe5bbde0ab9dc358433b (patch) | |
tree | e3262548b79479ecddb9e12a23dbe86bd701b220 /arch/arm64/include/asm/cpufeature.h | |
parent | 6f2b7eeff9dbadeb7366d44086aa34792a996fc9 (diff) | |
download | linux-675b0563d6b26aa97bb8fe5bbde0ab9dc358433b.tar.xz |
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>
Diffstat (limited to 'arch/arm64/include/asm/cpufeature.h')
-rw-r--r-- | arch/arm64/include/asm/cpufeature.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h index 8bb4f1527b26..c07c5d1cd04a 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -78,6 +78,8 @@ struct arm64_ftr_reg { const struct arm64_ftr_bits *ftr_bits; }; +extern struct arm64_ftr_reg arm64_ftr_reg_ctrel0; + /* scope of capability check */ enum { SCOPE_SYSTEM, |