[RFC 1/2] ppc/fpu: Add generic FPU api similar to x86

Christoph Hellwig hch at infradead.org
Tue Jul 20 06:04:12 UTC 2021

On Mon, Jul 19, 2021 at 03:52:10PM -0400, Anson Jacob wrote:
> - Add kernel_fpu_begin & kernel_fpu_end API as x86
> - Add logic similar to x86 to ensure fpu
>   begin/end call correctness
> - Add kernel_fpu_enabled to know if FPU is enabled
> Signed-off-by: Anson Jacob <Anson.Jacob at amd.com>

All the x86 FPU support is EXPORT_SYMBOL_GPL for a good reason, so
please stick to that.

More information about the amd-gfx mailing list