diff options
Diffstat (limited to 'arch/x86/kernel/apic/bigsmp_32.c')
-rw-r--r-- | arch/x86/kernel/apic/bigsmp_32.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86/kernel/apic/bigsmp_32.c b/arch/x86/kernel/apic/bigsmp_32.c index bc7ed040bb0e..541a2e431659 100644 --- a/arch/x86/kernel/apic/bigsmp_32.c +++ b/arch/x86/kernel/apic/bigsmp_32.c | |||
@@ -86,11 +86,6 @@ static void bigsmp_setup_apic_routing(void) | |||
86 | nr_ioapics); | 86 | nr_ioapics); |
87 | } | 87 | } |
88 | 88 | ||
89 | static int bigsmp_apicid_to_node(int logical_apicid) | ||
90 | { | ||
91 | return apicid_2_node[hard_smp_processor_id()]; | ||
92 | } | ||
93 | |||
94 | static int bigsmp_cpu_present_to_apicid(int mps_cpu) | 89 | static int bigsmp_cpu_present_to_apicid(int mps_cpu) |
95 | { | 90 | { |
96 | if (mps_cpu < nr_cpu_ids) | 91 | if (mps_cpu < nr_cpu_ids) |
@@ -221,7 +216,6 @@ struct apic apic_bigsmp = { | |||
221 | .ioapic_phys_id_map = bigsmp_ioapic_phys_id_map, | 216 | .ioapic_phys_id_map = bigsmp_ioapic_phys_id_map, |
222 | .setup_apic_routing = bigsmp_setup_apic_routing, | 217 | .setup_apic_routing = bigsmp_setup_apic_routing, |
223 | .multi_timer_check = NULL, | 218 | .multi_timer_check = NULL, |
224 | .apicid_to_node = bigsmp_apicid_to_node, | ||
225 | .cpu_present_to_apicid = bigsmp_cpu_present_to_apicid, | 219 | .cpu_present_to_apicid = bigsmp_cpu_present_to_apicid, |
226 | .apicid_to_cpu_present = physid_set_mask_of_physid, | 220 | .apicid_to_cpu_present = physid_set_mask_of_physid, |
227 | .setup_portio_remap = NULL, | 221 | .setup_portio_remap = NULL, |
@@ -259,4 +253,5 @@ struct apic apic_bigsmp = { | |||
259 | .safe_wait_icr_idle = native_safe_apic_wait_icr_idle, | 253 | .safe_wait_icr_idle = native_safe_apic_wait_icr_idle, |
260 | 254 | ||
261 | .x86_32_early_logical_apicid = bigsmp_early_logical_apicid, | 255 | .x86_32_early_logical_apicid = bigsmp_early_logical_apicid, |
256 | .x86_32_numa_cpu_node = default_x86_32_numa_cpu_node, | ||
262 | }; | 257 | }; |