mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
powerpc/pmac/smp: Drop unnecessary volatile qualifier
commit a4037d1f1fc4e92b69d7196d4568c33078d465ea upstream. core99_l2_cache/core99_l3_cache do not need to be marked as volatile, remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200303085604.24952-1-yuehaibing@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b29a10fd07
commit
94aef0fe5a
1 changed files with 2 additions and 2 deletions
|
|
@ -664,8 +664,8 @@ static void core99_init_caches(int cpu)
|
|||
{
|
||||
#ifndef 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 int core99_l2_cache;
|
||||
static long int core99_l3_cache;
|
||||
|
||||
if (!cpu_has_feature(CPU_FTR_L2CR))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue