diff options
Diffstat (limited to 'arch/x86/kernel/apic/x2apic_phys.c')
-rw-r--r-- | arch/x86/kernel/apic/x2apic_phys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/x2apic_phys.c b/arch/x86/kernel/apic/x2apic_phys.c index a284359627e7..0b631c6a2e00 100644 --- a/arch/x86/kernel/apic/x2apic_phys.c +++ b/arch/x86/kernel/apic/x2apic_phys.c | |||
@@ -162,7 +162,7 @@ static unsigned long set_apic_id(unsigned int id) | |||
162 | 162 | ||
163 | static int x2apic_phys_pkg_id(int initial_apicid, int index_msb) | 163 | static int x2apic_phys_pkg_id(int initial_apicid, int index_msb) |
164 | { | 164 | { |
165 | return current_cpu_data.initial_apicid >> index_msb; | 165 | return initial_apicid >> index_msb; |
166 | } | 166 | } |
167 | 167 | ||
168 | static void x2apic_send_IPI_self(int vector) | 168 | static void x2apic_send_IPI_self(int vector) |