[RFC 2/2] drm/amd/display: Use PPC FPU functions

Christoph Hellwig hch at infradead.org
Tue Jul 20 16:06:51 AEST 2021


>  #define DC_FP_END() kernel_fpu_end()
>  #elif defined(CONFIG_PPC64)
>  #include <asm/switch_to.h>
> +#define DC_FP_START() kernel_fpu_begin()
> +#define DC_FP_END() kernel_fpu_end()
>  #endif

Please use the same header as x86 in your first patch and then kill
this ifdefered and the DC_FP_START/DC_FP_END definitions entirely.


More information about the Linuxppc-dev mailing list