ARM: split out processor lookup
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 19 Jul 2018 10:59:56 +0000 (11:59 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 12 Nov 2018 10:51:01 +0000 (10:51 +0000)
commit65987a8553061515b5851b472081aedb9837a391
tree5860a36d08de54f44d04ba0e3ecae0db2b27fbb0
parent899a42f836678a595f7d2bc36a5a0c2b03d08cbc
ARM: split out processor lookup

Split out the lookup of the processor type and associated error handling
from the rest of setup_processor() - we will need to use this in the
secondary CPU bringup path for big.Little Spectre variant 2 mitigation.

Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/include/asm/cputype.h
arch/arm/kernel/setup.c