summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-17 19:48:20 +0200
committerClark Williams <williams@redhat.com>2011-12-28 16:25:40 -0600
commitdcb8018da416525d6227fa1b1b1b01973fafa687 (patch)
treedee3e1c0064312556ab864b33bff13a9e2b50102 /include/linux
parent0bc04050f17d60cc653d8060ea2c2324023af362 (diff)
migrate-disable-rt-variant.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
-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 363e5e277a3b..5aa7916e9a0d 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