diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-25 20:06:27 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-14 18:37:48 (GMT) |
commit | 96fca1455c91d874804fcafecd6c555bcb16b8ed (patch) | |
tree | d31c70ed9e023722a74f45ef893d7c130e6a9fa8 /mm | |
parent | 12e9e5534de7cf05c3d77fd15847e86cb5d0ff96 (diff) | |
download | linux-fsl-qoriq-96fca1455c91d874804fcafecd6c555bcb16b8ed.tar.xz |
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 efe0d86..f342221 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3745,7 +3745,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 @@ -3763,12 +3762,6 @@ void pagefault_enable(void) */ barrier(); current->pagefault_disabled--; - dec_preempt_count(); - /* - * make sure we do.. - */ - barrier(); - preempt_check_resched(); } EXPORT_SYMBOL(pagefault_enable); #endif |