]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cpufeature: Track unsigned fields
authorSuzuki K. Poulose <suzuki.poulose@arm.com>
Wed, 18 Nov 2015 17:08:57 +0000 (17:08 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 26 Nov 2015 18:07:59 +0000 (18:07 +0000)
commit2fd03f5128d9c276e87a0d197b94963b5512a0ec
tree030f49a7be4723c84a0551500455d05b109e8ecd
parenta01919e5bc4e1ba27bb7bd7a2dcd02693d822c61
arm64: cpufeature: Track unsigned fields

Some of the feature bits have unsigned values and need
to be treated accordingly to avoid errors. Adds the property
to the feature bits and use the appropriate field extract helpers.

Reported-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpufeature.h
arch/arm64/kernel/cpufeature.c