From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754156AbcB2LHK (ORCPT ); Mon, 29 Feb 2016 06:07:10 -0500 Received: from torg.zytor.com ([198.137.202.12]:53476 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753894AbcB2LHI (ORCPT ); Mon, 29 Feb 2016 06:07:08 -0500 Date: Mon, 29 Feb 2016 03:06:02 -0800 From: tip-bot for Thomas Gleixner Message-ID: Cc: eranian@google.com, bp@alien8.de, vincent.weaver@maine.edu, torvalds@linux-foundation.org, hpa@zytor.com, kan.liang@intel.com, andi.kleen@intel.com, jacob.jun.pan@linux.intel.com, linux-kernel@vger.kernel.org, harish.chegondi@intel.com, jolsa@redhat.com, tglx@linutronix.de, mingo@kernel.org, acme@redhat.com, peterz@infradead.org Reply-To: mingo@kernel.org, jolsa@redhat.com, tglx@linutronix.de, acme@redhat.com, peterz@infradead.org, torvalds@linux-foundation.org, hpa@zytor.com, kan.liang@intel.com, andi.kleen@intel.com, eranian@google.com, vincent.weaver@maine.edu, bp@alien8.de, harish.chegondi@intel.com, linux-kernel@vger.kernel.org, jacob.jun.pan@linux.intel.com In-Reply-To: <20160222221011.285504825@linutronix.de> References: <20160222221011.285504825@linutronix.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf/x86/uncore: Make uncore_pcibus_to_physid() static Git-Commit-ID: 1384c70442b71f882e7e7153df542794d468a15d X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 1384c70442b71f882e7e7153df542794d468a15d Gitweb: http://git.kernel.org/tip/1384c70442b71f882e7e7153df542794d468a15d Author: Thomas Gleixner AuthorDate: Mon, 22 Feb 2016 22:19:13 +0000 Committer: Ingo Molnar CommitDate: Mon, 29 Feb 2016 09:35:16 +0100 perf/x86/uncore: Make uncore_pcibus_to_physid() static No users outside of this file. Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Cc: Andi Kleen Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Harish Chegondi Cc: Jacob Pan Cc: Jiri Olsa Cc: Kan Liang Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Vince Weaver Cc: linux-kernel@vger.kernel.org Link: http://lkml.kernel.org/r/20160222221011.285504825@linutronix.de Signed-off-by: Ingo Molnar --- arch/x86/events/intel/uncore.c | 2 +- arch/x86/events/intel/uncore.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/events/intel/uncore.c b/arch/x86/events/intel/uncore.c index 84055f2..80ee3d4 100644 --- a/arch/x86/events/intel/uncore.c +++ b/arch/x86/events/intel/uncore.c @@ -21,7 +21,7 @@ static struct event_constraint uncore_constraint_fixed = struct event_constraint uncore_constraint_empty = EVENT_CONSTRAINT(0, 0, 0); -int uncore_pcibus_to_physid(struct pci_bus *bus) +static int uncore_pcibus_to_physid(struct pci_bus *bus) { struct pci2phy_map *map; int phys_id = -1; diff --git a/arch/x86/events/intel/uncore.h b/arch/x86/events/intel/uncore.h index cf2cb1f..f118c0d 100644 --- a/arch/x86/events/intel/uncore.h +++ b/arch/x86/events/intel/uncore.h @@ -125,7 +125,6 @@ struct pci2phy_map { int pbus_to_physid[256]; }; -int uncore_pcibus_to_physid(struct pci_bus *bus); struct pci2phy_map *__find_pci2phy_map(int segment); ssize_t uncore_event_show(struct kobject *kobj,