diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-25 20:06:27 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-10 00:18:41 (GMT) |
commit | 875e6cc6106b93960edc0241748315a3fcde6b66 (patch) | |
tree | 2a46f66bf96466eb28a9eb8415800f1b3461c6bf /mm/memory.c | |
parent | 42a23ca0e54f39d71e84539203189430aa1f1726 (diff) | |
download | linux-fsl-qoriq-875e6cc6106b93960edc0241748315a3fcde6b66.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/memory.c')
-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 |