]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/genx2apic_cluster.c
Merge branch 'x86/x2apic' into x86/core
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / genx2apic_cluster.c
index fed9f68efd665bd823378a9d1ebf9624959f5536..e4bf2cc0d743998b069925574ff93c559f7c24f3 100644 (file)
@@ -120,14 +120,9 @@ static unsigned long set_apic_id(unsigned int id)
        return x;
 }
 
-static unsigned int x2apic_read_id(void)
-{
-       return apic_read(APIC_ID);
-}
-
 static unsigned int phys_pkg_id(int index_msb)
 {
-       return x2apic_read_id() >> index_msb;
+       return current_cpu_data.initial_apicid >> index_msb;
 }
 
 static void x2apic_send_IPI_self(int vector)