projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9451c79
)
powerpc/pmac/smp: Drop unnecessary volatile qualifier
author
YueHaibing
<yuehaibing@huawei.com>
Tue, 3 Mar 2020 08:56:04 +0000
(16:56 +0800)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 17 Mar 2020 12:40:36 +0000
(23:40 +1100)
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
arch/powerpc/platforms/powermac/smp.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/powermac/smp.c
b/arch/powerpc/platforms/powermac/smp.c
index
4a2a1b2
..
d290068
100644
(file)
--- a/
arch/powerpc/platforms/powermac/smp.c
+++ b/
arch/powerpc/platforms/powermac/smp.c
@@
-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;