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

From: Christoph Hellwig
Date: Thu Aug 09 2018 - 02:31:26 EST


> extern unsigned long elf_hwcap;
> +extern bool has_fpu;
> #endif

Doesn't this conflict with the !CONFIG_CPU stub in switch_to.h?

It seems like we should only have this definition in one place to start
with.

Otherwise this looks fine to me:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>