/* SPDX-License-Identifier: GPL-2.0 */ #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 | 43 | 91.49% | 1 | 33.33% |
Andrew Morton | 4 | 8.51% | 2 | 66.67% |
Total | 47 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rusty Russell | 56 | 84.85% | 1 | 50.00% |
Anton Blanchard | 10 | 15.15% | 1 | 50.00% |
Total | 66 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Rusty Russell | 70 | 45.16% | 1 | 10.00% |
Ivan Kokshaysky | 54 | 34.84% | 1 | 10.00% |
Andrew Morton | 14 | 9.03% | 4 | 40.00% |
Anton Blanchard | 10 | 6.45% | 1 | 10.00% |
Richard Henderson | 3 | 1.94% | 1 | 10.00% |
Mike Travis | 3 | 1.94% | 1 | 10.00% |
Greg Kroah-Hartman | 1 | 0.65% | 1 | 10.00% |
Total | 155 | 100.00% | 10 | 100.00% |