Re: Advice saught on math functions

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Jul 13 2002 - 12:10:37 EST


On Sat, 2002-07-13 at 15:00, Pavel Machek wrote:
> > You can't use FPU operations in the x86 kernel.
>
> Actually, you can do kernel_fpu_begin(); any FPU you want;
> kernel_fpu_end(); but it is rarely good idea to do that.

Only
        Providing the CPU has FPU facilities
        Providing you do no blocking operation during the kernel_fpu_* range

Non x86 has other rules that may be even more complex.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:26 EST