GNU Linux-libre 4.9.292-gnu1
[releases.git] / tools / testing / radix-tree / linux / percpu.h
1
2 #define DEFINE_PER_CPU(type, val) type val
3
4 #define __get_cpu_var(var)      var
5 #define this_cpu_ptr(var)       var
6 #define per_cpu_ptr(ptr, cpu)   ({ (void)(cpu); (ptr); })
7 #define per_cpu(var, cpu)       (*per_cpu_ptr(&(var), cpu))