sh: fixup fpu.o compile order
commita375b15164dd9264f724ad941825e52c90145151
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 Apr 2011 07:44:27 +0000 (15 16:44 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 18 Apr 2011 10:04:50 +0000 (18 19:04 +0900)
tree41fc612c32daa34aec9fddac61513a5b14899143
parent7ef0c12a280c059f4624d311bb1a7d946cbac7b7
sh: fixup fpu.o compile order

arch_ptrace() was modified to reference init_fpu() to fix up xstate
initialization, which overlooked the fact that there are configurations
that don't enable any of hard FPU support or emulation, resulting in
build errors on DSP parts.

Given that init_fpu() simply sets up the xstate slab cache and is
side-stepped entirely for the DSP case, we can simply always build in the
helper and fix up the references.

Reported-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: stable@kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/Makefile