diff options
Diffstat (limited to 'arch/s390/mm')
-rw-r--r-- | arch/s390/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index f2b9a84dc2bf..9c3c19fe62fc 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c | |||
@@ -353,7 +353,7 @@ no_context: | |||
353 | */ | 353 | */ |
354 | out_of_memory: | 354 | out_of_memory: |
355 | up_read(&mm->mmap_sem); | 355 | up_read(&mm->mmap_sem); |
356 | if (tsk->pid == 1) { | 356 | if (is_init(tsk)) { |
357 | yield(); | 357 | yield(); |
358 | down_read(&mm->mmap_sem); | 358 | down_read(&mm->mmap_sem); |
359 | goto survive; | 359 | goto survive; |