x86/cpu: Move logical package and die IDs into topology info
[linux-2.6-microblaze.git] / arch / x86 / events / intel / uncore.c
index 69043e0..01023aa 100644 (file)
@@ -74,7 +74,7 @@ int uncore_device_to_die(struct pci_dev *dev)
                struct cpuinfo_x86 *c = &cpu_data(cpu);
 
                if (c->initialized && cpu_to_node(cpu) == node)
-                       return c->logical_die_id;
+                       return c->topo.logical_die_id;
        }
 
        return -1;