OSDN Git Service

ARM: make lookup_processor_type() non-__init
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 19 Jul 2018 10:42:36 +0000 (11:42 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 12 Nov 2018 10:51:01 +0000 (10:51 +0000)
commit899a42f836678a595f7d2bc36a5a0c2b03d08cbc
tree53b1735fb2e6e89ddd633c4a46b9a5536f6f4768
parent5df7a99bdd0de4a0480320264c44c04543c29d5a
ARM: make lookup_processor_type() non-__init

Move lookup_processor_type() out of the __init section so it is callable
from (eg) the secondary startup code during hotplug.

Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/head-common.S