lkml.org 
[lkml]   [1998]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectfpu-emu broken in 2.1.96
the compile error..

fpu_entry.c: In function `math_emulate':
fpu_entry.c:193: arithmetic on pointer to an incomplete type
fpu_entry.c:193: dereferencing pointer to incomplete type

offending piece of code..

if ( SEG_D_SIZE(code_descriptor = LDT_DESCRIPTOR(FPU_CS)) )

change which broke the code..

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

-#define LDT_DESCRIPTOR(s) (current->ldt[(s) >> 3])
+#define LDT_DESCRIPTOR(s) (((struct ldt_struct *)current->mm->segments)[(s) >> 3])

Whos great idea was this change anyway? :) And more importantly, why?

Cheers,

Dave.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.035 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site