diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-25 22:06:27 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | 2012-08-24 22:38:48 -0400 |
commit | 404d14cd9556ddaf51469a8a7108b29e75277d21 (patch) | |
tree | d6b3d93060dd106cda96730f3e9d9fa26c967adf /mm | |
parent | 15acd084e123d614aa6749b4409a74df7620925d (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 cbbba519f9fb..c2575a6415e4 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3450,7 +3450,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 @@ -3468,12 +3467,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 |