]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: virt: boot secondary CPUs through the right entry point
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 4 Jan 2013 17:44:14 +0000 (17:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 00:27:00 +0000 (18:27 -0600)
commit 6e484be1ccca3ea495db45900fd42aac8d49d754 upstream.

Secondary CPUs should use the __hyp_stub_install_secondary entry
point, so boot mode inconsistencies can be detected.

Acked-by: Dave Martin <dave.martin@linaro.org>
Reported-by: Ian Molton <ian.molton@collabora.co.uk>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/kernel/head.S

index 61fcb18c7e5b54015ecafa1b3ed5a777d1149d4b..486a15ae901192fa3e26539b3d2b7003a1528e0f 100644 (file)
@@ -334,7 +334,7 @@ ENTRY(secondary_startup)
         * as it has already been validated by the primary processor.
         */
 #ifdef CONFIG_ARM_VIRT_EXT
-       bl      __hyp_stub_install
+       bl      __hyp_stub_install_secondary
 #endif
        safe_svcmode_maskall r9