Re: [PATCH 5/5] Auto-detect whether a FPU exists

2018-08-30 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH 5/5] Auto-detect whether a FPU exists

2018-08-26 Thread Alan Kao
We expect that a kernel with CONFIG_FPU=y can still support no-FPU machines. To do so, the kernel should first examine the existence of a FPU, then do nothing if a FPU does exist; otherwise, it should disable/bypass all FPU-related functions. In this patch, a new global variable, has_fpu, is creat