From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755326AbbHKMJM (ORCPT ); Tue, 11 Aug 2015 08:09:12 -0400 Received: from mga01.intel.com ([192.55.52.88]:17136 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754734AbbHKMJJ (ORCPT ); Tue, 11 Aug 2015 08:09:09 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,652,1432623600"; d="scan'208";a="781202613" Date: Tue, 11 Aug 2015 20:08:31 +0800 From: kbuild test robot To: Boris Ostrovsky Cc: kbuild-all@01.org, David Vrabel , Konrad Rzeszutek Wilk , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Subject: [PATCH xen-tip] xen/PMU: xen_amd_read_pmc() can be static Message-ID: <20150811120831.GA131533@ivytown2> References: <201508112018.CEFIP2Xy%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201508112018.CEFIP2Xy%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Fengguang Wu --- pmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/xen/pmu.c b/arch/x86/xen/pmu.c index cbd68dd..2b81722 100644 --- a/arch/x86/xen/pmu.c +++ b/arch/x86/xen/pmu.c @@ -208,7 +208,7 @@ bool pmu_msr_write(unsigned int msr, uint32_t low, uint32_t high, int *err) return false; } -unsigned long long xen_amd_read_pmc(int counter) +static unsigned long long xen_amd_read_pmc(int counter) { uint32_t msr; int err; @@ -217,7 +217,7 @@ unsigned long long xen_amd_read_pmc(int counter) return native_read_msr_safe(msr, &err); } -unsigned long long xen_intel_read_pmc(int counter) +static unsigned long long xen_intel_read_pmc(int counter) { int err; uint32_t msr;