MIPS: smp-cps: cpu_set FPU mask if FPU present
authorNiklas Cassel <niklas.cassel@axis.com>
Thu, 15 Jan 2015 15:41:13 +0000 (16:41 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:12:35 +0000 (19:12 -0400)
commit8a77ae3ed6c300797d7b93de79434a6fe5f6e42e
treedebd7ed24d274c7f70f933efdb6f73359faa4ae8
parent718bce368d0981291524c3ec07848121f1aac2fe
MIPS: smp-cps: cpu_set FPU mask if FPU present

[ Upstream commit 90db024f140d0d6ad960cc5f090e3c8ed890ca55 ]

If we have an FPU, enroll ourselves in the FPU-full mask.
Matching the MT_SMP and CMP implementations of smp_setup.

Signed-off-by: Niklas Cassel <niklass@axis.com>
Cc: paul.burton@imgtec.com
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8948/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/mips/kernel/smp-cps.c