From: Iain Y. <ia...@g7...> - 2001-12-27 14:52:52
|
Hi All, Well, I have moved the compile of um-sparc64 forward quite a bit, but am now stuck in kernel/ksyms.c. The actual problem comes from include/asm/{sparc64}/checksum.h, and Im wondering what the best way to approach it is. The problem is that csum_partial_copy_nocheck references thread.current_ds.seg, which is only defined (as mm_segment_t) on the sparc64 specific thread implementation, and not defined at all on the generic thread UML implementation. What do people think the best way around this is ? Annoyingly, the reference to thread.current_ds.seg places the result into a piece of UltraSPARC assembly code. (My asm/processor.h is currently very similar to the PPC version, but calling in the sparc64 bits, instead of PPC - of course *grin*) Do I fix the checksum.h code by making it talk to the generic thread definition (as defined in asm/processor-generic.h) ? Or do I go the other way, and force it to use the sparc64 thread implementation ? Im guessing if I do use the sparc64 thread implementation, Ill end up breaking UML anyway ? Iain (who is getting himself very confused wandering between processor*.h's, checksum.h, and associated .h's :>) |