commit | 58834eecdeaab191b7c07a5eba8fdf9b637156e8 | [log] [tgz] |
---|---|---|
author | Jonathan Austin <Jonathan.Austin@arm.com> | Thu Apr 12 17:52:10 2012 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Apr 25 19:49:26 2012 +0100 |
tree | 1f12c3157e9f07885eb30f5a61b33b71876cb596 | |
parent | ce94df9c099d2a828610576f31dddfa552243edc [diff] |
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>