diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 19:48:20 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2011-12-28 16:25:40 -0600 |
commit | dcb8018da416525d6227fa1b1b1b01973fafa687 (patch) | |
tree | dee3e1c0064312556ab864b33bff13a9e2b50102 /include/linux | |
parent | 0bc04050f17d60cc653d8060ea2c2324023af362 (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.h | 4 |
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 |