diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-24 13:56:06 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-03 12:38:46 -0500 |
commit | 25453e9e521382883b6588ef1748ed61efc77001 (patch) | |
tree | fb580ab4d1c953aab3a7421468aabe07b237a5a2 /arch/x86/include/asm/topology.h | |
parent | 6616dbdf6d967c704830586d5ead35c9767a8431 (diff) |
x86/PCI: Remove mp_bus_to_node[], set_mp_bus_to_node(), get_mp_bus_to_node()
There are no callers of get_mp_bus_to_node(), so we no longer need
mp_bus_to_node[], get_mp_bus_to_node(), or set_mp_bus_to_node().
This removes them.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/x86/include/asm/topology.h')
-rw-r--r-- | arch/x86/include/asm/topology.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 09046a1a6c35..c840571afa4e 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h | |||
@@ -140,17 +140,4 @@ void x86_pci_root_bus_resources(int bus, struct list_head *resources); | |||
140 | #define smt_capable() (smp_num_siblings > 1) | 140 | #define smt_capable() (smp_num_siblings > 1) |
141 | #endif | 141 | #endif |
142 | 142 | ||
143 | #ifdef CONFIG_NUMA | ||
144 | extern int get_mp_bus_to_node(int busnum); | ||
145 | extern void set_mp_bus_to_node(int busnum, int node); | ||
146 | #else | ||
147 | static inline int get_mp_bus_to_node(int busnum) | ||
148 | { | ||
149 | return 0; | ||
150 | } | ||
151 | static inline void set_mp_bus_to_node(int busnum, int node) | ||
152 | { | ||
153 | } | ||
154 | #endif | ||
155 | |||
156 | #endif /* _ASM_X86_TOPOLOGY_H */ | 143 | #endif /* _ASM_X86_TOPOLOGY_H */ |