patch-2.4.23 linux-2.4.23/arch/m68k/math-emu/fp_emu.h

Next file: linux-2.4.23/arch/m68k/math-emu/fp_log.c
Previous file: linux-2.4.23/arch/m68k/kernel/ptrace.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/m68k/math-emu/fp_emu.h linux-2.4.23/arch/m68k/math-emu/fp_emu.h
@@ -115,6 +115,15 @@
 	__res;							\
 })
 
+#define fp_conv_long2ext(dest, src) ({				\
+	register struct fp_ext *__dest asm ("a0") = dest;	\
+	register int __src asm ("d0") = src;			\
+								\
+	asm volatile ("jsr fp_conv_ext2long"			\
+			: : "d" (__src), "a" (__dest)		\
+			: "a1", "d1", "d2", "memory");		\
+})
+
 #else /* __ASSEMBLY__ */
 
 /*

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