cregit-Linux how code gets into the kernel

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

PersonTokensPropCommitsCommitProp
Hong H. Pham15100.00%1100.00%
Total15100.00%1100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Hong H. Pham5498.18%150.00%
Greg Kroah-Hartman11.82%150.00%
Total55100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.