aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m32r/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m32r/mm/fault.c')
-rw-r--r--arch/m32r/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m32r/mm/fault.c b/arch/m32r/mm/fault.c
index dc18a33eefef..8d5f551b5754 100644
--- a/arch/m32r/mm/fault.c
+++ b/arch/m32r/mm/fault.c
@@ -299,7 +299,7 @@ no_context:
299 */ 299 */
300out_of_memory: 300out_of_memory:
301 up_read(&mm->mmap_sem); 301 up_read(&mm->mmap_sem);
302 if (tsk->pid == 1) { 302 if (is_init(tsk)) {
303 yield(); 303 yield();
304 down_read(&mm->mmap_sem); 304 down_read(&mm->mmap_sem);
305 goto survive; 305 goto survive;