ARM: 8318/1: treat CPU feature register fields as signed quantities
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 19 Mar 2015 18:03:25 +0000 (19:03 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 28 Mar 2015 15:46:15 +0000 (15:46 +0000)
The various CPU feature registers consist of 4-bit blocks that
represent signed quantities, whose positive values represent
incremental features, and whose negative values are reserved.

To improve forward compatibility, update the feature detection
code to take possible future higher values into account, but
ignore negative values.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cputype.h
arch/arm/kernel/setup.c

Simple merge
Simple merge