Re: [PATCH v2] MIPS: undefine and redefine cpu_has_fpu when it is overrided

From: Maciej W. Rozycki
Date: Sun May 01 2022 - 07:32:00 EST


On Sun, 1 May 2022, Stephen Zhang wrote:

> Thanks for your elaboration.It helps a lot.
> I want to submit a v3 patch like:
>
> #if cpu_has_fpu
> # error "Forcing `cpu_has_fpu' to non-zero is not supported"
> #endif
>
> but this will cause the link error if not combined with the fix:
>
> MIPS: IP30: Remove incorrect `cpu_has_fpu' override
>
> Maybe I should submit one first, and see how it goes then.

Let's wait a couple of days until the fixes required have been queued.

Maciej