Go to the documentation of this file.
15 #ifndef _ASM_TILE_TOPOLOGY_H
16 #define _ASM_TILE_TOPOLOGY_H
23 extern struct cpumask node_2_cpu_mask[];
24 extern char cpu_2_node[];
29 return cpu_2_node[
cpu];
36 #define parent_node(node) (node)
41 return &node_2_cpu_mask[
node];
45 #define pcibus_to_node(bus) ((void)(bus), -1)
54 #define SD_CPU_INIT (struct sched_domain) { \
56 .max_interval = 128, \
58 .imbalance_pct = 125, \
59 .cache_nice_tries = 1, \
66 .flags = 1*SD_LOAD_BALANCE \
67 | 1*SD_BALANCE_NEWIDLE \
72 | 0*SD_SHARE_CPUPOWER \
73 | 0*SD_SHARE_PKG_RESOURCES \
76 .last_balance = jiffies, \
77 .balance_interval = 32, \
81 #define node_has_online_mem(nid) 1
88 #define topology_physical_package_id(cpu) ((void)(cpu), 0)
89 #define topology_core_id(cpu) (cpu)
90 #define topology_core_cpumask(cpu) ((void)(cpu), cpu_online_mask)
91 #define topology_thread_cpumask(cpu) cpumask_of(cpu)
94 #define arch_provides_topology_pointers yes