arm64: Handle width of a cpuid feature
authorSuzuki K. Poulose <suzuki.poulose@arm.com>
Mon, 19 Oct 2015 13:24:44 +0000 (14:24 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 21 Oct 2015 14:34:00 +0000 (15:34 +0100)
commitce98a677d897dbaac86905652292fab1eeeb2b93
tree9eae65a188b49dab12b0494ed7e64caeb14230f2
parent12d11817eaafa414eeb47af684093eb2165ebe37
arm64: Handle width of a cpuid feature

Introduce a helper to extract cpuid feature for any given
width.

Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Tested-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpufeature.h