]> Pileus Git - ~andy/linux/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)
committerWill Deacon <will.deacon@arm.com>
Thu, 10 Jan 2013 21:08:51 +0000 (21:08 +0000)
Secondary CPUs should use the __hyp_stub_install_secondary entry
point, so boot mode inconsistencies can be detected.

Cc: <stable@vger.kernel.org>
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>
arch/arm/kernel/head.S

index 4eee351f4668e2bbee54c3771a5389ce8900c10c..16abc8322f7986fd4c473a9a4d05f44facebc7e3 100644 (file)
@@ -331,7 +331,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