]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit4f0a606bce5ecd3a8210e896c33f41d1bf7f752f
tree030f49a7be4723c84a0551500455d05b109e8ecd
parentd21182718400f51f0729ae8268d94bd820ec8b71
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