Release 4.14 arch/sparc/kernel/cpumap.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _CPUMAP_H
#define _CPUMAP_H
#ifdef CONFIG_SMP
void cpu_map_rebuild(void);
int map_to_cpu(unsigned int index);
#define cpu_map_init() cpu_map_rebuild()
#else
#define cpu_map_init() do {} while (0)
static inline int map_to_cpu(unsigned int index)
{
return raw_smp_processor_id();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Hong H. Pham | 15 | 100.00% | 1 | 100.00% |
Total | 15 | 100.00% | 1 | 100.00% |
#endif
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Hong H. Pham | 54 | 98.18% | 1 | 50.00% |
Greg Kroah-Hartman | 1 | 1.82% | 1 | 50.00% |
Total | 55 | 100.00% | 2 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.