patch-2.4.25 linux-2.4.25/arch/i386/math-emu/fpu_system.h

Next file: linux-2.4.25/arch/i386/mm/fault.c
Previous file: linux-2.4.25/arch/i386/kernel/time.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/arch/i386/math-emu/fpu_system.h linux-2.4.25/arch/i386/math-emu/fpu_system.h
@@ -20,7 +20,7 @@
    of the stack frame of math_emulate() */
 #define SETUP_DATA_AREA(arg)	FPU_info = (struct info *) &arg
 
-#define LDT_DESCRIPTOR(s)	(((struct desc_struct *)current->mm->context.segments)[(s) >> 3])
+#define LDT_DESCRIPTOR(s)	(((struct desc_struct *)current->mm->context.ldt)[(s) >> 3])
 #define SEG_D_SIZE(x)		((x).b & (3 << 21))
 #define SEG_G_BIT(x)		((x).b & (1 << 23))
 #define SEG_GRANULARITY(x)	(((x).b & (1 << 23)) ? 4096 : 1)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)