aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/mm/fault.c')
-rw-r--r--arch/m68k/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/mm/fault.c b/arch/m68k/mm/fault.c
index 5e2d87c10c87..911f2ce3f53e 100644
--- a/arch/m68k/mm/fault.c
+++ b/arch/m68k/mm/fault.c
@@ -181,7 +181,7 @@ good_area:
181 */ 181 */
182out_of_memory: 182out_of_memory:
183 up_read(&mm->mmap_sem); 183 up_read(&mm->mmap_sem);
184 if (current->pid == 1) { 184 if (is_init(current)) {
185 yield(); 185 yield();
186 down_read(&mm->mmap_sem); 186 down_read(&mm->mmap_sem);
187 goto survive; 187 goto survive;