On Tue, 20 Jul 2010 00:12:02 +0200 Mikael Pettersson <mikpe@xxxxxxxx> wrote: > Unfortunately it seems difficult to write a generic module > which uses math-emu: > - <math-emu/soft-fp.h> includes <asm/sfp-machine.h>, > but only a handful of archs have it > - <asm/sfp-machine.h> isn't always self-contained and may depend > on various $arch-specific declarations being present > > The given test module works on sparc64 and ppc64, where it uses > the kernel's sfp-machine.h, and on x86 where it uses a stub > sfp-machine.h supplied by itself. I tried to cross-compile it > for alpha, but that failed due to its sfp-machine.h not being > self-contained. I didn't try sh or s390. It would be challange to try this on s390. The math emulation code is only used for really old 31 bit machines. Starting with the G5 the fpu can do IEEE754, I would say the math emulation code is irrelevant for s390 by now. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html