OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2015 12:14:22 +0000 (05:14 -0700)
commit5bd1f3713cd795cdd750b869f98674b40748ef92
tree9fe0b6c054334bde48b97a15428c27b9ee836c08
parentb9b1a2af5a6aa82944f80c03152ddeecc86d91a8
MIPS: smp-cps: cpu_set FPU mask if FPU present

Commit 90db024f140d0d6ad960cc5f090e3c8ed890ca55 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/kernel/smp-cps.c