X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fi387.h;h=229401824d1bb7cc746cbb2c14b3efb3eef879f5;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=10638b85021a0ea0b64d64c5a63b3dd8f145bbb5;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/include/asm-x86_64/i387.h b/include/asm-x86_64/i387.h index 10638b850..229401824 100644 --- a/include/asm-x86_64/i387.h +++ b/include/asm-x86_64/i387.h @@ -138,7 +138,7 @@ static inline void save_init_fpu( struct task_struct *tsk ) */ static inline int restore_i387(struct _fpstate __user *buf) { - return restore_fpu_checking((struct i387_fxsave_struct *)buf); + return restore_fpu_checking((__force struct i387_fxsave_struct *)buf); } #endif /* __ASM_X86_64_I387_H */