ARM: 8563/1: fix demoting HWCAP_SWP
authorVladimir Murzin <vladimir.murzin@arm.com>
Tue, 19 Apr 2016 11:35:20 +0000 (12:35 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 19 Apr 2016 18:42:25 +0000 (19:42 +0100)
commit03f1217e5fafac8eb9e28aa8d04a67b6db1e435b
treef0895cec056814b8b0b3946c1f8b2a78df0291fc
parent9c18fcf7ae0ef87f0723dfd74c27d608c7486e0e
ARM: 8563/1: fix demoting HWCAP_SWP

Commit b8c9592 "ARM: 8318/1: treat CPU feature register fields as signed
quantities" accidentally altered cpuid register used to demote
HWCAP_SWP.
ARM ARM says that SyncPrim_instrs bits in ID_ISAR3 should be used with
SynchPrim_instrs_frac from ID_ISAR4. So, follow this rule.

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c