summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-17 19:48:20 +0200
committerClark Williams <williams@redhat.com>2012-04-13 11:01:36 -0500
commitf5c5f692da0b11a4963de5d9e86b239e4848c9ff (patch)
tree61eede9a672936d4fe159999f39b32de42a9eb05 /include
parent54d4a818eb19b2f37bfa356f26ea41766026af9d (diff)
migrate-disable-rt-variant.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/preempt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/preempt.h b/include/linux/preempt.h
index c5d2a36589ca..714a08c27839 100644
--- a/include/linux/preempt.h
+++ b/include/linux/preempt.h
@@ -121,11 +121,15 @@ extern void migrate_enable(void);
# define preempt_enable_rt() preempt_enable()
# define preempt_disable_nort() do { } while (0)
# define preempt_enable_nort() do { } while (0)
+# define migrate_disable_rt() migrate_disable()
+# define migrate_enable_rt() migrate_enable()
#else
# define preempt_disable_rt() do { } while (0)
# define preempt_enable_rt() do { } while (0)
# define preempt_disable_nort() preempt_disable()
# define preempt_enable_nort() preempt_enable()
+# define migrate_disable_rt() do { } while (0)
+# define migrate_enable_rt() do { } while (0)
#endif
#ifdef CONFIG_PREEMPT_NOTIFIERS