[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 3 Mar 2020 09:59:32 +0100
From: Christophe Leroy <christophe.leroy@....fr>
To: YueHaibing <yuehaibing@...wei.com>, benh@...nel.crashing.org,
paulus@...ba.org, mpe@...erman.id.au
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 -next] powerpc/pmac/smp: drop unnecessary volatile
qualifier
Le 03/03/2020 à 09:56, YueHaibing a écrit :
> core99_l2_cache/core99_l3_cache no need to mark as volatile,
> just remove it.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Reviewed-by: Christophe Leroy <christophe.leroy@....fr>
> ---
> v2: remove 'volatile' qualifier
> ---
> arch/powerpc/platforms/powermac/smp.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/platforms/powermac/smp.c b/arch/powerpc/platforms/powermac/smp.c
> index f95fbde..69ad567 100644
> --- a/arch/powerpc/platforms/powermac/smp.c
> +++ b/arch/powerpc/platforms/powermac/smp.c
> @@ -661,8 +661,8 @@ static void smp_core99_gpio_tb_freeze(int freeze)
> #endif /* !CONFIG_PPC64 */
>
> /* L2 and L3 cache settings to pass from CPU0 to CPU1 on G4 cpus */
> -volatile static long int core99_l2_cache;
> -volatile static long int core99_l3_cache;
> +static long core99_l2_cache;
> +static long core99_l3_cache;
>
> static void core99_init_caches(int cpu)
> {
>
Powered by blists - more mailing lists