summaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/setup_mm.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@linux-m68k.org>2016-08-29 16:43:51 +1000
committerGreg Ungerer <gerg@linux-m68k.org>2016-09-26 12:02:59 +1000
commit8912eaccb981fd7c2624cbfd56c47c1f6f051420 (patch)
tree7994153bf5051b0a1aff58c1662025cf64741f42 /arch/m68k/kernel/setup_mm.c
parent8cf4a973b47d69227b8ad31d41e4054c59de4dcc (diff)
downloadlinux-stable-8912eaccb981fd7c2624cbfd56c47c1f6f051420.tar.gz
linux-stable-8912eaccb981fd7c2624cbfd56c47c1f6f051420.tar.bz2
linux-stable-8912eaccb981fd7c2624cbfd56c47c1f6f051420.zip
m68k: always make available dump_fpu()
Our local m68k architecture dump_fpu() is conditionally compiled in on CONFIG_FPU. That is OK for all existing MMU enabled CPU types, but won't handle the case for some ColdFire SoC CPU parts that we want to support that have no FPU hardware. dump_fpu() is expected to be present by the ELF loader, so we must always have it available and exported. Remove the conditional and reorganize the dump_fpu hard FPU code path to let the compiler remove code when not needed. This change based on changes and discussion from Yannick Gicquel <yannick.gicquel@open.eurogiciel.org>. Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel/setup_mm.c')
0 files changed, 0 insertions, 0 deletions