Release 4.10 arch/alpha/include/asm/topology.h
#ifndef _ASM_ALPHA_TOPOLOGY_H
#define _ASM_ALPHA_TOPOLOGY_H
#include <linux/smp.h>
#include <linux/threads.h>
#include <asm/machvec.h>
#ifdef CONFIG_NUMA
static inline int cpu_to_node(int cpu)
{
int node;
if (!alpha_mv.cpuid_to_nid)
return 0;
node = alpha_mv.cpuid_to_nid(cpu);
#ifdef DEBUG_NUMA
BUG_ON(node < 0);
#endif
return node;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
ivan kokshaysky | ivan kokshaysky | 43 | 91.49% | 1 | 33.33% |
andrew morton | andrew morton | 4 | 8.51% | 2 | 66.67% |
| Total | 47 | 100.00% | 3 | 100.00% |
extern struct cpumask node_to_cpumask_map[];
/* FIXME: This is dumb, recalculating every time. But simple. */
static const struct cpumask *cpumask_of_node(int node)
{
int cpu;
if (node == -1)
return cpu_all_mask;
cpumask_clear(&node_to_cpumask_map[node]);
for_each_online_cpu(cpu) {
if (cpu_to_node(cpu) == node)
cpumask_set_cpu(cpu, node_to_cpumask_map[node]);
}
return &node_to_cpumask_map[node];
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
rusty russell | rusty russell | 56 | 84.85% | 1 | 50.00% |
anton blanchard | anton blanchard | 10 | 15.15% | 1 | 50.00% |
| Total | 66 | 100.00% | 2 | 100.00% |
#define cpumask_of_pcibus(bus) (cpu_online_mask)
#endif /* !CONFIG_NUMA */
# include <asm-generic/topology.h>
#endif /* _ASM_ALPHA_TOPOLOGY_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
rusty russell | rusty russell | 70 | 45.45% | 1 | 12.50% |
ivan kokshaysky | ivan kokshaysky | 55 | 35.71% | 1 | 12.50% |
andrew morton | andrew morton | 16 | 10.39% | 4 | 50.00% |
anton blanchard | anton blanchard | 10 | 6.49% | 1 | 12.50% |
mike travis | mike travis | 3 | 1.95% | 1 | 12.50% |
| Total | 154 | 100.00% | 8 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.