aboutsummaryrefslogtreecommitdiffstats
path: root/arch/score/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/score/mm/fault.c')
-rw-r--r--arch/score/mm/fault.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/score/mm/fault.c b/arch/score/mm/fault.c
index 6b18fb0189ae..4b71a626d41e 100644
--- a/arch/score/mm/fault.c
+++ b/arch/score/mm/fault.c
@@ -100,7 +100,6 @@ good_area:
100 goto bad_area; 100 goto bad_area;
101 } 101 }
102 102
103survive:
104 /* 103 /*
105 * If for any reason at all we couldn't handle the fault, 104 * If for any reason at all we couldn't handle the fault,
106 * make sure we exit gracefully rather than endlessly redo 105 * make sure we exit gracefully rather than endlessly redo
@@ -167,11 +166,6 @@ no_context:
167 */ 166 */
168out_of_memory: 167out_of_memory:
169 up_read(&mm->mmap_sem); 168 up_read(&mm->mmap_sem);
170 if (is_global_init(tsk)) {
171 yield();
172 down_read(&mm->mmap_sem);
173 goto survive;
174 }
175 if (!user_mode(regs)) 169 if (!user_mode(regs))
176 goto no_context; 170 goto no_context;
177 pagefault_out_of_memory(); 171 pagefault_out_of_memory();