lkml.org 
[lkml]   [2012]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH RT] preempt: Define preempt_check_resched_rt() for non PREEMPT config
From
Date
Fix compiler error when CONFIG_PREEMPT is not set.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

diff --git a/include/linux/preempt.h b/include/linux/preempt.h
index 4125456..11412d7 100644
--- a/include/linux/preempt.h
+++ b/include/linux/preempt.h
@@ -95,6 +95,7 @@ do { \
#define preempt_enable_no_resched() do { } while (0)
#define preempt_enable() do { } while (0)
#define preempt_check_resched() do { } while (0)
+#define preempt_check_resched_rt() do { } while (0)

#define preempt_disable_notrace() do { } while (0)
#define preempt_enable_no_resched_notrace() do { } while (0)



\
 
 \ /
  Last update: 2012-03-13 03:53    [W:0.041 / U:0.468 seconds]
©2003-2014 Jasper Spaans. Advertise on this site