diff options
Diffstat (limited to 'arch/powerpc/mm/fault.c')
-rw-r--r-- | arch/powerpc/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c index 77953f41d754..e8fa50624b70 100644 --- a/arch/powerpc/mm/fault.c +++ b/arch/powerpc/mm/fault.c | |||
@@ -386,7 +386,7 @@ bad_area_nosemaphore: | |||
386 | */ | 386 | */ |
387 | out_of_memory: | 387 | out_of_memory: |
388 | up_read(&mm->mmap_sem); | 388 | up_read(&mm->mmap_sem); |
389 | if (current->pid == 1) { | 389 | if (is_init(current)) { |
390 | yield(); | 390 | yield(); |
391 | down_read(&mm->mmap_sem); | 391 | down_read(&mm->mmap_sem); |
392 | goto survive; | 392 | goto survive; |