Skip to content
Commit 79b0e09a authored by James Morse's avatar James Morse Committed by Will Deacon
Browse files

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: default avatarJames Morse <james.morse@arm.com>
Suggested-by: default avatarRussell King <linux@arm.linux.org.uk>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent ae2fb7ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment