arm64: kernel: Add cpufeature 'enable' callback
authorJames Morse <james.morse@arm.com>
Tue, 21 Jul 2015 12:23:28 +0000 (13:23 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 10:08:41 +0000 (11:08 +0100)
commit1c0763037f1e1caef739e36e09c6d41ed7b61b2d
tree84306615418b6f7944c628df6170c46647d6d35c
parent870828e57b141eff76a5325f20e4691dd2a599b1
arm64: kernel: Add cpufeature 'enable' callback

This patch adds an 'enable()' callback to cpu capability/feature
detection, allowing features that require some setup or configuration
to get this opportunity once the feature has been detected.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c