1 /* SPDX-License-Identifier: GPL-2.0 */
6 void cpu_map_rebuild(void);
7 int map_to_cpu(unsigned int index);
8 #define cpu_map_init() cpu_map_rebuild()
10 #define cpu_map_init() do {} while (0)
11 static inline int map_to_cpu(unsigned int index)
13 return raw_smp_processor_id();