• Kevin Cernekee's avatar
    MIPS: nofpu and nodsp only affect CPU0 · 0103d23f
    Kevin Cernekee authored
    The "nofpu" and "nodsp" kernel command line options currently do not
    affect CPUs that are brought online later in the boot process or
    hotplugged at runtime.  It is desirable to apply the nofpu/nodsp options
    to all CPUs in the system, so that surprising results are not seen when
    a process migrates from one CPU to another.
    
    [Ralf: Moved definitions of mips_fpu_disabled, fpu_disable,
    mips_dsp_disabled and dsp_disable from setup.c to cpu-probe.c to allow
    making mips_fpu_disabled and mips_dsp_disabled static.]
    Signed-off-by: default avatarKevin Cernekee <cernekee@gmail.com>
    Cc: linux-mips@linux-mips.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: http://patchwork.linux-mips.org/patch/1169/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    0103d23f
cpu-probe.c 24.2 KB