[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix build for smp
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] Fix build for smp |
Date: |
Fri, 13 Jan 2023 19:34:31 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Etienne Brateau, le ven. 13 janv. 2023 15:47:32 +0100, a ecrit:
> ad51c68171cb6a1cae15c61ca0218bbee2c05485 missed one replacement which
> was not discovered because it’s only when building with smp enabled.
Applied, thanks!
> ---
> i386/intel/pmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
> index 00a18402..63f372a9 100644
> --- a/i386/intel/pmap.c
> +++ b/i386/intel/pmap.c
> @@ -2884,7 +2884,7 @@ void signal_cpus(
> int which_cpu, j;
> pmap_update_list_t update_list_p;
>
> - while ((which_cpu = ffs(use_list)) != 0) {
> + while ((which_cpu = __builtin_ffs(use_list)) != 0) {
> which_cpu -= 1; /* convert to 0 origin */
>
> update_list_p = &cpu_update_list[which_cpu];
> --
> 2.39.0
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.