]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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 00:32:30 +0000 (09:32 +0900)
commitc8b7f76958e22a88f2fa510ab05aff1ca08358a6
tree4b951e0ec56f5cd615e9b6fba7983838b6e1c0cd
parentdd04ac7182e11f77da6d12d2c3ff868c5bbedcd1
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