Commit a4037d1f authored by YueHaibing's avatar YueHaibing Committed by Michael Ellerman

powerpc/pmac/smp: Drop unnecessary volatile qualifier

core99_l2_cache/core99_l3_cache do not need to be marked as volatile,
remove it.
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200303085604.24952-1-yuehaibing@huawei.com
parent 9451c79b
...@@ -664,8 +664,8 @@ static void core99_init_caches(int cpu) ...@@ -664,8 +664,8 @@ static void core99_init_caches(int cpu)
{ {
#ifndef CONFIG_PPC64 #ifndef CONFIG_PPC64
/* L2 and L3 cache settings to pass from CPU0 to CPU1 on G4 cpus */ /* L2 and L3 cache settings to pass from CPU0 to CPU1 on G4 cpus */
volatile static long int core99_l2_cache; static long int core99_l2_cache;
volatile static long int core99_l3_cache; static long int core99_l3_cache;
if (!cpu_has_feature(CPU_FTR_L2CR)) if (!cpu_has_feature(CPU_FTR_L2CR))
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment