arm64: elf: use cpuid_feature_extract_field for hwcap detection
authorWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 15:55:32 +0000 (16:55 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 15:56:17 +0000 (16:56 +0100)
commit309585b0b931b291d0525b2830161ee76a2f23ff
treeb449b4ca476bca59533d554c5cd7c174ce15e24a
parent2e94da13790336eb3fd00fb5e97610dd9aebe213
arm64: elf: use cpuid_feature_extract_field for hwcap detection

cpuid_feature_extract_field takes care of the fiddly ID register
field sign-extension, so use that instead of rolling our own version.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/setup.c