--- linux-2.2.13/arch/i386/kernel/process.c.p3	Fri Nov 12 15:31:54 1999
+++ linux-2.2.13/arch/i386/kernel/process.c	Fri Nov 12 15:33:10 1999
@@ -626,12 +626,12 @@ int i387_hard_to_user ( struct user_i387
 			*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 @@ int i387_user_to_hard (union i387_hard_u
 #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 @@ int i387_user_to_hard (union i387_hard_u
 #endif
 		err = copy_from_user((&(hard->fsave.cwd)),
 				     (void *)(user),
-				     sizeof(struct i387_hard_fsave));
+				     sizeof(struct user_i387_struct));
 	return err;
 }
 
