/* SPDX-License-Identifier: GPL-2.0 */ /* * ARM specific SMP header, this contains our implementation * details. */ #ifndef __ASMARM_SMP_PLAT_H #define __ASMARM_SMP_PLAT_H #include <linux/cpumask.h> #include <linux/err.h> #include <asm/cpu.h> #include <asm/cputype.h> /* * Return true if we are running on a SMP platform */
static inline bool is_smp(void) { #ifndef CONFIG_SMP return false; #elif defined(CONFIG_SMP_ON_UP) extern unsigned int smp_on_up; return !!smp_on_up; #else return true; #endif }Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| Tony Lindgren | 38 | 100.00% | 1 | 100.00% |
| Total | 38 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Juri Lelli | 37 | 100.00% | 1 | 100.00% |
| Total | 37 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Russell King | 25 | 73.53% | 1 | 50.00% |
| Tony Lindgren | 9 | 26.47% | 1 | 50.00% |
| Total | 34 | 100.00% | 2 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Russell King | 25 | 73.53% | 1 | 50.00% |
| Tony Lindgren | 9 | 26.47% | 1 | 50.00% |
| Total | 34 | 100.00% | 2 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Lorenzo Pieralisi | 42 | 100.00% | 1 | 100.00% |
| Total | 42 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Lorenzo Pieralisi | 16 | 100.00% | 1 | 100.00% |
| Total | 16 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Stephen Boyd | 14 | 100.00% | 1 | 100.00% |
| Total | 14 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Lorenzo Pieralisi | 91 | 26.69% | 4 | 26.67% |
| Russell King | 63 | 18.48% | 2 | 13.33% |
| Tony Lindgren | 57 | 16.72% | 1 | 6.67% |
| Juri Lelli | 41 | 12.02% | 1 | 6.67% |
| Stephen Boyd | 30 | 8.80% | 1 | 6.67% |
| Will Deacon | 24 | 7.04% | 2 | 13.33% |
| Catalin Marinas | 20 | 5.87% | 1 | 6.67% |
| Stephen Warren | 7 | 2.05% | 1 | 6.67% |
| Geert Uytterhoeven | 7 | 2.05% | 1 | 6.67% |
| Greg Kroah-Hartman | 1 | 0.29% | 1 | 6.67% |
| Total | 341 | 100.00% | 15 | 100.00% |