[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH gnumach] smp: Fix parenthesis around logic expression value
From: |
Samuel Thibault |
Subject: |
Re: [PATCH gnumach] smp: Fix parenthesis around logic expression value |
Date: |
Sun, 11 Feb 2024 11:38:15 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Damien Zammit, le dim. 11 févr. 2024 07:09:20 +0000, a ecrit:
> ---
> kern/thread.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kern/thread.c b/kern/thread.c
> index 38287581..de9d1982 100644
> --- a/kern/thread.c
> +++ b/kern/thread.c
> @@ -1921,7 +1921,7 @@ Restart:
> * Reset policy and priorities if needed.
> */
> #if MACH_FIXPRI
> - if (thread->policy & new_pset->policies == 0) {
> + if ((thread->policy & new_pset->policies) == 0) {
> thread->policy = POLICY_TIMESHARE;
> recompute_pri = TRUE;
> }
> --
> 2.43.0
>
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.