aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/mm/fault.c')
-rw-r--r--arch/i386/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/mm/fault.c b/arch/i386/mm/fault.c
index 50d8617391dd..2581575786c1 100644
--- a/arch/i386/mm/fault.c
+++ b/arch/i386/mm/fault.c
@@ -589,7 +589,7 @@ no_context:
589 */ 589 */
590out_of_memory: 590out_of_memory:
591 up_read(&mm->mmap_sem); 591 up_read(&mm->mmap_sem);
592 if (tsk->pid == 1) { 592 if (is_init(tsk)) {
593 yield(); 593 yield();
594 down_read(&mm->mmap_sem); 594 down_read(&mm->mmap_sem);
595 goto survive; 595 goto survive;