2.6.11-rc3 fix compile failure in arch/i386/kernel/i387.c
PATCH 1/1 2.6.11-rc3 fix compile failure in arch/i386/kernel/i387.c
Using patch-2.6.11-rc3.bz2 from kernel.org on top of 2.6.10,
a compile failure in /arch/i386/kernel/i387.c due to tsk->used_math undef.
The patch log shows offsets but no rejects
patching file arch/i386/kernel/i387.c
Hunk #6 succeeded at 538 (offset 15 lines).
Hunk #7 succeeded at 553 (offset 15 lines).
Patch below fixes it.
Regards
Michael
Signed off by: Michael Frank <[email protected]>
arch/i386/kernel/i387.c 2005-02-04 11:12:53.000000000 +0100 renamed from arch/i386/kernel/i387.c 2005-02-04 10:43:06.000000000 +0100 +1 -1
@@ -526,7 +526,7 @@ int fpvalid; struct task_struct *tsk = current; - fpvalid = tsk->used_math && cpu_has_fxsr; + fpvalid = !!used_math() && cpu_has_fxsr; if ( fpvalid ) { unlazy_fpu( tsk ); memcpy( fpu, &tsk->thread.i387.fxsave,
Quoted 8 lines · Michael Frank at BerliOS
Using patch-2.6.11-rc3.bz2 from kernel.org on top of 2.6.10,
a compile failure in /arch/i386/kernel/i387.c due totsk->used_mathundef.The patch log shows offsets but no rejects
patching file
arch/i386/kernel/i387.c
Hunk #6 succeeded at 538 (offset 15 lines).
Hunk #7 succeeded at 553 (offset 15 lines).
No offsets (or compile problems) here. Have you verified that your 2.6.10 had no local changes?