]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cpufeature: constify arm64_ftr_bits structures
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 31 Aug 2016 10:31:08 +0000 (11:31 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 31 Aug 2016 12:48:15 +0000 (13:48 +0100)
commit1cd1edfff023134986ae340b37930cc98027d489
treee6b3e64b706e1b586a1d56847671a17c816ef9dc
parent21442b7b2babcece9cee029bf283167efa2d59e5
arm64: cpufeature: constify arm64_ftr_bits structures

The arm64_ftr_bits structures are never modified, so make them read-only.

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