sh: fixup fpu.o compile order
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 Apr 2011 07:44:27 +0000 (16:44 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 01:34:30 +0000 (10:34 +0900)
commit3a0d69ad4e806eb4aba6cb5ce167dc28a74f0e4c
treeacc390f6cfe27a0d5c27b008b93141408033da53
parent4e3ce1d6df72b3b6bf871c9d2ea78711d3a9d724
sh: fixup fpu.o compile order

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>
arch/sh/kernel/cpu/Makefile