mirror of
https://github.com/siemens-mobile-hacks/siemens-linux.git
synced 2026-11-25 22:27:24 +00:00
4 lines
134 B
C
4 lines
134 B
C
extern int preempt_count;
|
|
|
|
#define preempt_disable() uatomic_inc(&preempt_count)
|
|
#define preempt_enable() uatomic_dec(&preempt_count)
|