Re: [PATCH v6 1/1] MIPS: Fix idle VS timer enqueue

From: Thomas Bogendoerfer
Date: Fri Mar 21 2025 - 05:42:57 EST


On Thu, Mar 20, 2025 at 09:44:23AM +0100, Marco Crivellari wrote:
> Hi,
>
> yesterday I made this changes:
>
> @@ -128,7 +128,11 @@ LEAF(__r4k_wait)
> */
> wait
> /* End of idle interrupt region. */
> -1:
> +SYM_INNER_LABEL(__r4k_wait_exit, SYM_L_LOCAL)

do we really need that for a symbol local to that file ?

> + /* Check idle interrupt region size. */
> + .ifne __r4k_wait_exit - __r4k_wait - 36

I have to say, that I prefer my .if statement, since this clearly spells out
the comparision in the expression. Is there a reason for your version ?

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]