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

From: Alan Kao
Date: Thu Aug 09 2018 - 03:33:12 EST


On Thu, Aug 09, 2018 at 12:02:58AM -0700, Christoph Hellwig wrote:
> On Thu, Aug 09, 2018 at 02:43:36PM +0800, Alan Kao wrote:
> > It does look a little bit weird. Should I send a v6 for this?
>
> Yes, please resend the series or just this patch.
>
> I think the hswap.h definition should go away and we should just
> keep the switch_to.h one, even if that means including the header
> in another C file.
>

It turns out that only cpufeature.c and switch_to.h are affected
by hwcap.h. As switch_to.h already had extern has_fpu declaration,
the one in hwcap.h is redundant and can be removed safely.

I will resend just this patch, and mark it as v6.