Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3183128ybf; Tue, 3 Mar 2020 00:57:35 -0800 (PST) X-Google-Smtp-Source: ADFU+vtHKTYFfyoQP66RlDQ1kS92cG7MhVUtrGH7TM9e7Fr6XjV16NXTAUhxUOjKEwIS7nagvtrl X-Received: by 2002:a05:6830:1513:: with SMTP id k19mr2731074otp.9.1583225854994; Tue, 03 Mar 2020 00:57:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583225854; cv=none; d=google.com; s=arc-20160816; b=TuKkwc0to3v6rHBdOQWKU/NH2X0Ub6PFO0owGxGPplriWadlBscJC6TUMv1+tKLP5z paEkCKfncoW9upo6XuhxmFKikLhFjFaHPN/ThVAbC3M2CaHVDOn6U8mSMseLBumgxJRv 9MPrEIleYi71qaTZtb2uvTDj04MTBNtGCzHu+spahQg3qtjwKuoS0D/YT5+GHBdLtPTL jReiVuIBmMU6EpwH+tnHA+d8Cq2c2gFM3zBDvm91oaBxAeMsBH0Wy19NcBrUN49vpwSl HCCeT7Xp/4lWwbpUsTx/AO+G1Q59TPfmjenU+7OgFRRuRSgPFlo7DOg00H1lCf/w8trD 66XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=aHZwAYKrs676ZHJAebs5hak8G6c5i5TPudwIk4idgmY=; b=Sv2xAMkilyY0L34HYDyaDPqY/wVZLf++hunwNxI9TbpoBN9OTG/qjWRAzP7jrp34Tq d7j8JGj4y28etzDa84ADTFX7n3Ukye4mnJSIoz5oMkU9qdvfWbGNT9NDxBSQ96zolQ8i KupPmgqIJ3lMD48baXFvHzg/BXsN7bENqMJtHcauXEe485X/httdfceN3JaBsdDW5AjN TbXl93VFPmn2ukKLUDoO+z5LctmNeAeIr+KFQ0PYt6TUTUORK1hFtIHgFfN0YJqheImL W9690Vnag8MXYdpFLaIr7fQOKWR9nhWl90K97C9Eax+Nn4sQnCMbkwJS+OH1KbrSv1cR Igvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a3si7585747oib.168.2020.03.03.00.57.23; Tue, 03 Mar 2020 00:57:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727921AbgCCI43 (ORCPT + 99 others); Tue, 3 Mar 2020 03:56:29 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11136 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727872AbgCCI43 (ORCPT ); Tue, 3 Mar 2020 03:56:29 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 8FD36214148A0B4E2E5F; Tue, 3 Mar 2020 16:56:26 +0800 (CST) Received: from localhost (10.173.223.234) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.439.0; Tue, 3 Mar 2020 16:56:16 +0800 From: YueHaibing To: , , , CC: , , YueHaibing Subject: [PATCH v2 -next] powerpc/pmac/smp: drop unnecessary volatile qualifier Date: Tue, 3 Mar 2020 16:56:04 +0800 Message-ID: <20200303085604.24952-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 In-Reply-To: <20191225114943.17216-1-yuehaibing@huawei.com> References: <20191225114943.17216-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.173.223.234] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org core99_l2_cache/core99_l3_cache no need to mark as volatile, just remove it. Signed-off-by: YueHaibing --- 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) { -- 2.7.4