commit | 79b0e09a3c9bd74ee54582efdb351179d7c00351 | [log] [tgz] |
---|---|---|
author | James Morse <james.morse@arm.com> | Tue Jul 21 13:23:26 2015 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Mon Jul 27 11:08:40 2015 +0100 |
tree | f3b5bf111e01a35c09d0444cdc53bfe7da49ce18 | |
parent | ae2fb7ece973f0b285f41985f5de85c57df9bf5a [diff] |
arm64: kernel: Add cpuid_feature_extract_field() for 4bit sign extension Based on arch/arm/include/asm/cputype.h, this function does the shifting and sign extension necessary when accessing cpu feature fields. Signed-off-by: James Morse <james.morse@arm.com> Suggested-by: Russell King <linux@arm.linux.org.uk> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>