patch-2.3.14 linux/include/asm-m68k/setup.h

Next file: linux/include/linux/arcdevice.h
Previous file: linux/include/asm-m68k/math-emu.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/include/asm-m68k/setup.h linux/include/asm-m68k/setup.h
@@ -315,6 +315,16 @@
 
 #define CPU_TYPE (m68k_cputype)
 
+#ifdef CONFIG_M68KFPU_EMU
+#  ifdef CONFIG_M68KFPU_EMU_ONLY
+#    define FPU_IS_EMU (1)
+#  else
+#    define FPU_IS_EMU (!m68k_fputype)
+#  endif
+#else
+#  define FPU_IS_EMU (0)
+#endif
+
 
     /*
      *  Miscellaneous

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)