diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/preempt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/preempt.h b/include/linux/preempt.h index 116ac32..7d08aab 100644 --- a/include/linux/preempt.h +++ b/include/linux/preempt.h @@ -72,8 +72,10 @@ do { \ #ifndef CONFIG_PREEMPT_RT_BASE # define preempt_enable_no_resched() sched_preempt_enable_no_resched() +# define preempt_check_resched_rt() barrier() #else # define preempt_enable_no_resched() preempt_enable() +# define preempt_check_resched_rt() preempt_check_resched() #endif #define preempt_enable() \ @@ -127,6 +129,7 @@ do { \ #define preempt_disable_notrace() barrier() #define preempt_enable_no_resched_notrace() barrier() #define preempt_enable_notrace() barrier() +#define preempt_check_resched_rt() barrier() #endif /* CONFIG_PREEMPT_COUNT */ |