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)
committerGreg Hackmann <ghackmann@google.com>
Mon, 12 Jan 2015 21:02:12 +0000 (13:02 -0800)
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 4cdb1b14110a48ef422a998d294d6454b4d74c9f..452fb3ad68aafea3c24236cb4b70d850528df1b8 100644 (file)
@@ -778,4 +778,4 @@ static int __init vfp_init(void)
        return 0;
 }
 
-late_initcall(vfp_init);
+core_initcall(vfp_init);