Skip to content

Commit 1384c70

Browse files
KAGA-KOKOIngo Molnar
authored andcommitted
perf/x86/uncore: Make uncore_pcibus_to_physid() static
No users outside of this file. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Harish Chegondi <[email protected]> Cc: Jacob Pan <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Vince Weaver <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 1229735 commit 1384c70

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

arch/x86/events/intel/uncore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static struct event_constraint uncore_constraint_fixed =
2121
struct event_constraint uncore_constraint_empty =
2222
EVENT_CONSTRAINT(0, 0, 0);
2323

24-
int uncore_pcibus_to_physid(struct pci_bus *bus)
24+
static int uncore_pcibus_to_physid(struct pci_bus *bus)
2525
{
2626
struct pci2phy_map *map;
2727
int phys_id = -1;

arch/x86/events/intel/uncore.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ struct pci2phy_map {
125125
int pbus_to_physid[256];
126126
};
127127

128-
int uncore_pcibus_to_physid(struct pci_bus *bus);
129128
struct pci2phy_map *__find_pci2phy_map(int segment);
130129

131130
ssize_t uncore_event_show(struct kobject *kobj,

0 commit comments

Comments
 (0)