diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2017-10-06 14:16:53 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-10-06 16:35:25 +0100 |
commit | ae2e972dae3cea795e9f8f94eb1601213c2d49f0 (patch) | |
tree | bebcbb2f5c14336ce4edeb467020c283036abf4f | |
parent | c0d8832e78cbfd4a64b7112e34920af4b0b0e60e (diff) | |
download | linux-stable-ae2e972dae3cea795e9f8f94eb1601213c2d49f0.tar.gz linux-stable-ae2e972dae3cea795e9f8f94eb1601213c2d49f0.tar.bz2 linux-stable-ae2e972dae3cea795e9f8f94eb1601213c2d49f0.zip |
arm64: Ensure fpsimd support is ready before userspace is active
We register the pm/hotplug callbacks for FPSIMD as late_initcall,
which happens after the userspace is active (from initramfs via
populate_rootfs, a rootfs_initcall). Make sure we are ready even
before the userspace could potentially use it, by promoting to
a core_initcall.
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Dave Martin <dave.martin@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r-- | arch/arm64/kernel/fpsimd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c index f444f374bd7b..5d547deb6996 100644 --- a/arch/arm64/kernel/fpsimd.c +++ b/arch/arm64/kernel/fpsimd.c @@ -444,4 +444,4 @@ static int __init fpsimd_init(void) return 0; } -late_initcall(fpsimd_init); +core_initcall(fpsimd_init); |