arm64: lse: use generic cpufeature detection for LSE atomics
authorWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 15:23:58 +0000 (16:23 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 15:37:14 +0000 (16:37 +0100)
commit2e94da13790336eb3fd00fb5e97610dd9aebe213
tree706fba639eb0e16c57b7da85c06afc59c71d2bac
parent0e4a07092fc833dc3d972a3394398aef68217c13
arm64: lse: use generic cpufeature detection for LSE atomics

Rework the cpufeature detection to support ISAR0 and use that for
detecting the presence of LSE atomics.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/setup.c