[PATCH RT] preempt: Define preempt_check_resched_rt() for nonPREEMPT config
From: Steven Rostedt
Date: Mon Mar 12 2012 - 22:51:03 EST
Fix compiler error when CONFIG_PREEMPT is not set.
Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/