diff options
Diffstat (limited to 'arch/x86/kernel/apic/x2apic_cluster.c')
-rw-r--r-- | arch/x86/kernel/apic/x2apic_cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/x2apic_cluster.c b/arch/x86/kernel/apic/x2apic_cluster.c index 8e4cbb255c38..2ed4e2bb3b32 100644 --- a/arch/x86/kernel/apic/x2apic_cluster.c +++ b/arch/x86/kernel/apic/x2apic_cluster.c | |||
@@ -170,7 +170,7 @@ static unsigned long set_apic_id(unsigned int id) | |||
170 | 170 | ||
171 | static int x2apic_cluster_phys_pkg_id(int initial_apicid, int index_msb) | 171 | static int x2apic_cluster_phys_pkg_id(int initial_apicid, int index_msb) |
172 | { | 172 | { |
173 | return current_cpu_data.initial_apicid >> index_msb; | 173 | return initial_apicid >> index_msb; |
174 | } | 174 | } |
175 | 175 | ||
176 | static void x2apic_send_IPI_self(int vector) | 176 | static void x2apic_send_IPI_self(int vector) |