]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
m68k: report correct FPU type on ColdFire MMU platforms
authorGreg Ungerer <gerg@linux-m68k.org>
Thu, 25 Aug 2016 13:12:22 +0000 (23:12 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Mon, 26 Sep 2016 02:02:58 +0000 (12:02 +1000)
commitcbd5b982f6a1540ebb0144774d64381e7b2d39fd
tree75d26823fb8bfd1d4120b4b83adcfd7c3818ef0e
parent81d33350bab8b6889ac0f9c98bce58128be1c72d
m68k: report correct FPU type on ColdFire MMU platforms

Not all ColdFire SoC parts that have an MMU also have an FPU - so set
an FPU type (via m68k_fputype) appropriate for the configured platform.

With this set correctly /proc/cpuinfo will report FPU "none" on devices
that don't have one. And kernel code paths that initialize FPU hardware
will now only execute if an FPU is actually present.

Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/coldfire/head.S
arch/m68k/include/asm/m5441xsim.h
arch/m68k/include/asm/m54xxsim.h