sh: fixup fpu.o compile order
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 Apr 2011 07:44:27 +0000 (16:44 +0900)
committerSteve Conklin <sconklin@canonical.com>
Fri, 15 Jul 2011 17:21:08 +0000 (12:21 -0500)
commit9c2f858b662e5add83baef6073b22a8634ec0b3f
tree79721671f0722a8f5370f412b87c6f55b0bb781a
parentda21399714239d385346576d1ff7449b88115f23
sh: fixup fpu.o compile order

BugLink: http://bugs.launchpad.net/bugs/793702

commit a375b15164dd9264f724ad941825e52c90145151 upstream.

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>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/sh/kernel/cpu/Makefile