percpu: factor out pcpu_addr_in_first/reserved_chunk() and update per_cpu_ptr_to_phys()
[safe/jmp/linux-2.6] / lib / locking-selftest-wlock.h
1 #undef LOCK
2 #define LOCK            WL
3
4 #undef UNLOCK
5 #define UNLOCK          WU
6
7 #undef RLOCK
8 #define RLOCK           RL
9
10 #undef WLOCK
11 #define WLOCK           WL
12
13 #undef INIT
14 #define INIT            RWI