diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-25 22:06:27 +0200 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2015-05-08 22:30:06 +0200 |
commit | 05fe3f812514557cc7d125279de8035b7104f8ae (patch) | |
tree | 939e11d07e1fa978131f80e389891f2540ce620e /mm | |
parent | 2f5165df3471ce6d4777c3326f284e0366fb395a (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>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c index 096323f48cc6..e38f53b792d9 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3247,7 +3247,6 @@ unlock: #ifdef CONFIG_PREEMPT_RT_FULL void pagefault_disable(void) { - preempt_count_inc(); current->pagefault_disabled++; /* * make sure to have issued the store before a pagefault @@ -3265,7 +3264,6 @@ void pagefault_enable(void) */ barrier(); current->pagefault_disabled--; - preempt_enable(); } EXPORT_SYMBOL(pagefault_enable); #endif |