diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-25 20:06:27 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-02-13 22:20:11 (GMT) |
commit | 8d2115a60c8bc79c839da535affa41468c49d995 (patch) | |
tree | 79e494c6e265932a9a24f1418f8e177f6136bb44 /mm | |
parent | ccd2402a5d07f0a3fe65136429185d495407b106 (diff) | |
download | linux-fsl-qoriq-8d2115a60c8bc79c839da535affa41468c49d995.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 01986a6..ea5ba0a 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3750,7 +3750,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 @@ -3768,12 +3767,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 |