Index: oldkernel/linux/arch/i386/kernel/process.c
diff -u linux/arch/i386/kernel/process.c:1.2 linux/arch/i386/kernel/process.c:1.3
--- linux/arch/i386/kernel/process.c:1.2	Thu Jun  1 15:05:19 2000
+++ linux/arch/i386/kernel/process.c	Thu Jun  1 17:07:46 2000
@@ -626,12 +626,12 @@
 			*tmp = *tmp2; tmp++; tmp2 += 4;
 		}
 		err = copy_to_user((void *)(user),(&(hard2)),
-				   sizeof(struct i387_hard_fsave));
+				   sizeof(struct user_i387_struct));
 	} else
 #endif
 		err = copy_to_user((void *)(user),
 				   (&(hard->fsave.cwd)),
-				   sizeof(struct i387_hard_fsave));
+				   sizeof(struct user_i387_struct));
 	return err;
 }
 
@@ -651,7 +651,7 @@
 #ifdef CONFIG_X86_FX
 	if (boot_cpu_data.x86_capability & X86_FEATURE_FXSR) {
 		err = copy_from_user((&(hard2)),(void *)(user),
-				     sizeof(struct i387_hard_fsave));
+				     sizeof(struct user_i387_struct));
 		hard->fxsave.fxcwd = hard2.fsave.cwd & 0xffff;
 		hard->fxsave.fxswd = hard2.fsave.swd & 0xffff;
 		hard->fxsave.fxtwd = fputag_387_to_KNI(hard2.fsave.twd);
@@ -677,7 +677,7 @@
 #endif
 		err = copy_from_user((&(hard->fsave.cwd)),
 				     (void *)(user),
-				     sizeof(struct i387_hard_fsave));
+				     sizeof(struct user_i387_struct));
 	return err;
 }
 
