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

Next file: linux/include/asm-m68k/smplock.h
Previous file: linux/include/asm-m68k/semaphore.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/asm-m68k/setup.h linux/include/asm-m68k/setup.h
@@ -244,6 +244,9 @@
 extern unsigned long m68k_cputype;
 extern unsigned long m68k_fputype;
 extern unsigned long m68k_mmutype;			/* Not really used yet */
+#ifdef CONFIG_VME
+extern unsigned long vme_brdtype;
+#endif
 
     /*
      *  m68k_is040or060 is != 0 for a '040 or higher;
@@ -314,6 +317,16 @@
 #endif
 
 #define CPU_TYPE (m68k_cputype)
+
+#ifdef CONFIG_FPU_EMU
+#  ifdef CONFIG_FPU_EMU_ONLY
+#    define FPU_IS_EMU (1)
+#  else
+#    define FPU_IS_EMU (!m68k_fputype)
+#  endif
+#else
+#  define FPU_IS_EMU (0)
+#endif
 
 
     /*

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