1 2 3 4 5 6 7 8 9 10 11
#ifndef __ASM_SMP_H #define __ASM_SMP_H #include <linux/cpumask.h> extern cpumask_t phys_cpu_present_map; #define cpu_possible_map phys_cpu_present_map #define __smp_processor_id() (current_thread_info()->cpu) #endif