diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-25 22:06:27 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | 2013-03-22 10:00:07 -0400 |
commit | 8e0cf3aa85f1ccf4d6de43d62b5a1ecc0736fb2a (patch) | |
tree | 836eba4757ea8bb68bb164c2c5d7f7a72331dfb7 /mm | |
parent | 54d2fca5b4d09d037839648146b51b5177062847 (diff) |
mm: Remove preempt count from pagefault disable/enable
Now that all users are cleaned up, we can remove the preemption count.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mm/memory.c b/mm/memory.c index c497561ddbd9..f4d9bdea6c45 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3455,7 +3455,6 @@ unlock: #ifdef CONFIG_PREEMPT_RT_FULL void pagefault_disable(void) { - inc_preempt_count(); current->pagefault_disabled++; /* * make sure to have issued the store before a pagefault @@ -3473,12 +3472,6 @@ void pagefault_enable(void) */ barrier(); current->pagefault_disabled--; - dec_preempt_count(); - /* - * make sure we do.. - */ - barrier(); - preempt_check_resched(); } EXPORT_SYMBOL_GPL(pagefault_enable); #endif |