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

/external/kernel-headers/original/linux/
H A Dsmp.h103 * smp_processor_id(): get the current CPU ID.
106 * used in a preemption-safe way. (smp_processor_id() is safe
111 * (smp_processor_id() is the preferred variant), but in rare
113 * (i.e. smp_processor_id() use that the debugging code reports but
119 # define smp_processor_id() debug_smp_processor_id() macro
121 # define smp_processor_id() raw_smp_processor_id() macro
124 #define get_cpu() ({ preempt_disable(); smp_processor_id(); })

Completed in 214 milliseconds