diff options
Diffstat (limited to 'arch/m32r/mm/fault.c')
-rw-r--r-- | arch/m32r/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m32r/mm/fault.c b/arch/m32r/mm/fault.c index dc18a33eefe..8d5f551b575 100644 --- a/arch/m32r/mm/fault.c +++ b/arch/m32r/mm/fault.c | |||
@@ -299,7 +299,7 @@ no_context: | |||
299 | */ | 299 | */ |
300 | out_of_memory: | 300 | out_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; |