]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ff4230c0e9b9584e1344bf9dd10fbd324df618e
tree84306615418b6f7944c628df6170c46647d6d35c
parentf2aa346233474f802791492c64b135bda6bfb1db
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