arm64: alternatives: add cpu feature for lse atomics
authorWill Deacon <will.deacon@arm.com>
Wed, 4 Feb 2015 12:17:55 +0000 (12:17 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 13:34:39 +0000 (14:34 +0100)
commitd964b7229e7f94428a1e8d26999adffbe8a69db2
treeaa0b764dee60f631d5a61b941f4fd40a6513724f
parent40a1db2434a1b62332b1af25cfa14d7b8c0301fe
arm64: alternatives: add cpu feature for lse atomics

Add a CPU feature for the LSE atomic instructions, so that they can be
patched in at runtime when we detect that they are supported.

Reviewed-by: Steve Capper <steve.capper@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/setup.c