OSDN Git Service

UPSTREAM: MIPS: Define the legacy-NaN and 2008-NaN features
authorMaciej W. Rozycki <macro@imgtec.com>
Fri, 13 Nov 2015 00:46:55 +0000 (00:46 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 5 Feb 2018 16:58:30 +0000 (08:58 -0800)
commitd73ca92398df3e7b42f95e39df13b6e7e23adb7b
tree35aa16c4a40dea9d9b22756ad7fbd18c84f8999d
parent43517cec9fba957b266b07724ed6920d4f973d63
UPSTREAM: MIPS: Define the legacy-NaN and 2008-NaN features

Allocate CPU option bits and define macros for the legacy-NaN and
2008-NaN IEEE Std 754 MIPS architecture features.  Unconditionally mark
the legacy-NaN feature as present across hardware and emulated
floating-point configurations.

Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Fortune <Matthew.Fortune@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11475/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
(cherry picked from commit 9519ef37a4a4e9c3c2d7d89ecbecfaf3c839208a)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
arch/mips/include/asm/cpu-features.h
arch/mips/include/asm/cpu.h
arch/mips/kernel/cpu-probe.c