Re: Advice saught on math functions

Alan Cox (alan@lxorguk.ukuu.org.uk)
13 Jul 2002 18:10:37 +0100


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/