diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-25 22:06:27 +0200 |
|---|---|---|
| committer | Clark Williams <williams@redhat.com> | 2012-02-15 10:32:33 -0600 |
| commit | 68d15660f706ecd3784f278d38dd665007984df2 (patch) | |
| tree | 3336e2e457be34368a790da61644991c96585334 | |
| parent | 15d2466508cf24d267afff394c89ab0286243853 (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>
| -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 e93031baaeb6..e09ca9b19492 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -3439,7 +3439,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 @@ -3457,12 +3456,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 |
