ARM: move VFP init to an earlier boot stage
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 22 May 2013 08:38:53 +0000 (10:38 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 8 Jul 2013 17:22:19 +0000 (18:22 +0100)
In order to use the NEON unit in the kernel, we should
initialize it a bit earlier in the boot process so NEON users
that like to do a quick benchmark at load time (like the
xor_blocks or RAID-6 code) find the NEON/VFP unit already
enabled.

Replaced late_initcall() with core_initcall().

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
arch/arm/vfp/vfpmodule.c

index 5dfbb0b8e7f4484ddeb97974080a51bfaec0dc3e..791993aed75a69fea05990fd8417e9b736596a36 100644 (file)
@@ -731,4 +731,4 @@ static int __init vfp_init(void)
        return 0;
 }
 
-late_initcall(vfp_init);
+core_initcall(vfp_init);
This page took 0.028206 seconds and 5 git commands to generate.