Searched defs:smp_processor_id (Results 1 - 1 of 1) sorted by relevance

/include/linux/
H A Dsmp.h157 * smp_processor_id(): get the current CPU ID.
160 * used in a preemption-safe way. (smp_processor_id() is safe
165 * (smp_processor_id() is the preferred variant), but in rare
167 * (i.e. smp_processor_id() use that the debugging code reports but
173 # define smp_processor_id() debug_smp_processor_id() macro
175 # define smp_processor_id() raw_smp_processor_id() macro
178 #define get_cpu() ({ preempt_disable(); smp_processor_id(); })

Completed in 52 milliseconds