The following patch makes the FPU emulator compile again with the
new arch/i386 code.
Have a nice fortnight
-- Martin `MJ' Mares <mj@gts.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "The computer is mightier than the pen, the sword, and usually, the programmer."
--- /usr/src/linux-2.1/arch/i386/kernel/ptrace.c Sat Dec 20 22:35:36 1997 +++ arch/i386/kernel/ptrace.c Sun Dec 28 12:54:38 1997 @@ -611,7 +611,7 @@ child->tss.i387.hard.twd = 0xffffffff; } #ifdef CONFIG_MATH_EMULATION - if ( hard_math ) { + if ( boot_cpu_data.hard_math ) { #endif if (last_task_used_math == child) { clts(); @@ -639,7 +639,7 @@ } child->used_math = 1; #ifdef CONFIG_MATH_EMULATION - if ( hard_math ) { + if ( boot_cpu_data.hard_math ) { #endif if (last_task_used_math == child) { /* Discard the state of the FPU */