aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/mm/fault.c')
-rw-r--r--arch/ia64/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/mm/fault.c b/arch/ia64/mm/fault.c
index d8b1b4ac7f26..59f3ab937615 100644
--- a/arch/ia64/mm/fault.c
+++ b/arch/ia64/mm/fault.c
@@ -280,7 +280,7 @@ ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *re
280 280
281 out_of_memory: 281 out_of_memory:
282 up_read(&mm->mmap_sem); 282 up_read(&mm->mmap_sem);
283 if (current->pid == 1) { 283 if (is_init(current)) {
284 yield(); 284 yield();
285 down_read(&mm->mmap_sem); 285 down_read(&mm->mmap_sem);
286 goto survive; 286 goto survive;