Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a899356 authored by Vladimir Murzin's avatar Vladimir Murzin Committed by Gerrit - the friendly Code Review server
Browse files

ARM: fix cpu feature extracting helper



Commit b8c9592 "ARM: 8318/1: treat CPU feature register fields as signed
quantities" introduced helper to extract signed quantities of 4-bit
blocks. However, with a current code feature with value 0b1000 isn't
rejected as negative. So fix the "if" condition.

Change-Id: Ia8f9b3e059e7a5a7049ebcd0034a7f7f15174db4
Reported-by: default avatarJonathan Brawn <Jon.Brawn@arm.com>
Signed-off-by: default avatarVladimir Murzin <vladimir.murzin@arm.com>
Acked-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Patch-mainline: linux-arm-kernel @ 01/26/16, 10:23
Signed-off-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
parent 694083f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment