]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - include/asm-sparc64/topology.h
[SPARC64]: Use machine description and OBP properly for cpu probing.
[mirror_ubuntu-zesty-kernel.git] / include / asm-sparc64 / topology.h
index 98a6c613589dcbe29205d0705ebf871b6f577b22..e0d450d600ec2a7890cc7bca91572f8e56fd472a 100644 (file)
@@ -6,4 +6,7 @@
 
 #include <asm-generic/topology.h>
 
+#define topology_core_id(cpu)                  (cpu_data(cpu).core_id)
+#define topology_thread_siblings(cpu)          (cpu_sibling_map[cpu])
+
 #endif /* _ASM_SPARC64_TOPOLOGY_H */