radix tree test suite: track preempt_count
[muen/linux.git] / tools / testing / radix-tree / linux / preempt.h
1 extern int preempt_count;
2
3 #define preempt_disable()       uatomic_inc(&preempt_count)
4 #define preempt_enable()        uatomic_dec(&preempt_count)