Go to the documentation of this file. 1 #ifndef _ASM_MACH_TOPOLOGY_H
2 #define _ASM_MACH_TOPOLOGY_H 1
5 #include <asm/sn/types.h>
6 #include <asm/mmzone.h>
14 unsigned long loops_per_sec;
15 unsigned long ipi_count;
16 unsigned long irq_attempt[
NR_IRQS];
17 unsigned long smp_local_irq_count;
18 unsigned long prof_multiplier;
19 unsigned long prof_counter;
25 #define cpu_to_node(cpu) (sn_cpu_info[(cpu)].p_nodeid)
26 #define parent_node(node) (node)
27 #define cpumask_of_node(node) ((node) == -1 ? \
29 &hub_data(node)->h_cpus)
33 #define cpumask_of_pcibus(bus) (cpu_online_mask)
37 #define node_distance(from, to) (__node_distances[(from)][(to)])