]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7385/1: ThumbEE: Use cpuid macros to read ID_PFR0 for ThumbEE
authorJonathan Austin <Jonathan.Austin@arm.com>
Thu, 12 Apr 2012 16:52:10 +0000 (17:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 25 Apr 2012 18:49:26 +0000 (19:49 +0100)
commit46ac69f60f211aed22d190eea64fdad1e69755bb
tree1f12c3157e9f07885eb30f5a61b33b71876cb596
parent2c578d603425edd0c0b6239c71afaf51805f9a64
ARM: 7385/1: ThumbEE: Use cpuid macros to read ID_PFR0 for ThumbEE

The ThumbEE probe code uses inline assembly to read ID_PFR0 in order to
detect whether ThumbEE is implemented by the processor.

This patch replaces the inline asm with the read_cpuid_ext macro.

Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/thumbee.c