aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/mm/fault.c')
-rw-r--r--arch/alpha/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/mm/fault.c b/arch/alpha/mm/fault.c
index 622dabd84680..8871529a34e2 100644
--- a/arch/alpha/mm/fault.c
+++ b/arch/alpha/mm/fault.c
@@ -193,7 +193,7 @@ do_page_fault(unsigned long address, unsigned long mmcsr,
193 /* We ran out of memory, or some other thing happened to us that 193 /* We ran out of memory, or some other thing happened to us that
194 made us unable to handle the page fault gracefully. */ 194 made us unable to handle the page fault gracefully. */
195 out_of_memory: 195 out_of_memory:
196 if (current->pid == 1) { 196 if (is_init(current)) {
197 yield(); 197 yield();
198 down_read(&mm->mmap_sem); 198 down_read(&mm->mmap_sem);
199 goto survive; 199 goto survive;