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

/include/linux/
H A Dsmp.h198 * smp_processor_id(): get the current CPU ID.
201 * used in a preemption-safe way. (smp_processor_id() is safe
206 * (smp_processor_id() is the preferred variant), but in rare
208 * (i.e. smp_processor_id() use that the debugging code reports but
214 # define smp_processor_id() debug_smp_processor_id() macro
216 # define smp_processor_id() raw_smp_processor_id() macro
219 #define get_cpu() ({ preempt_disable(); smp_processor_id(); })

Completed in 112 milliseconds