patch-2.4.4 linux/arch/s390/kernel/s390fpu.c

Next file: linux/arch/s390/kernel/semaphore.c
Previous file: linux/arch/s390/kernel/s390_ksyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/arch/s390/kernel/s390fpu.c linux/arch/s390/kernel/s390fpu.c
@@ -57,10 +57,9 @@
 
 void save_fp_regs(s390_fp_regs *fpregs)
 {
-#if CONFIG_IEEEFPU_EMULATION
+#if CONFIG_MATHEMU
 	s390_fp_regs *currentfprs;
-#endif
-#if CONFIG_IEEEFPU_EMULATION
+
 	if(!save_fp_regs1(fpregs))
 	{
 		currentfprs=&current->thread.fp_regs;
@@ -119,11 +118,9 @@
 
 void restore_fp_regs(s390_fp_regs *fpregs)
 {
-#if CONFIG_IEEEFPU_EMULATION
+#if CONFIG_MATHEMU
 	s390_fp_regs *currentfprs;
-#endif
 
-#if CONFIG_IEEEFPU_EMULATION
 	if(!restore_fp_regs1(fpregs))
 	{
 		currentfprs=&current->thread.fp_regs;
@@ -138,15 +135,4 @@
 	restore_fp_regs1(fpregs);
 #endif
 }
-
-
-
-
-
-
-
-
-
-
-
 

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