Message ID | 20200303085604.24952-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a4037d1f1fc4e92b69d7196d4568c33078d465ea |
Headers | show |
Series | [v2,-next] powerpc/pmac/smp: drop unnecessary volatile qualifier | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch powerpc/merge (e3a1ab299346a9a415f334e91a78da7ea84aa5a2) |
snowpatch_ozlabs/build-ppc64le | success | Build succeeded |
snowpatch_ozlabs/build-ppc64be | fail | build failed! |
snowpatch_ozlabs/build-ppc64e | success | Build succeeded |
snowpatch_ozlabs/build-pmac32 | success | Build succeeded |
snowpatch_ozlabs/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 10 lines checked |
snowpatch_ozlabs/needsstable | success | Patch has no Fixes tags |
On Tue, 2020-03-03 at 08:56:04 UTC, YueHaibing wrote: > core99_l2_cache/core99_l3_cache no need to mark as volatile, > just remove it. > > Signed-off-by: YueHaibing <yuehaibing@huawei.com> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/a4037d1f1fc4e92b69d7196d4568c33078d465ea cheers
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) {
core99_l2_cache/core99_l3_cache no need to mark as volatile, just remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> --- v2: remove 'volatile' qualifier --- arch/powerpc/platforms/powermac/smp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)