summaryrefslogtreecommitdiff
path: root/arch/arm26/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm26/mm/fault.c')
-rw-r--r--arch/arm26/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm26/mm/fault.c b/arch/arm26/mm/fault.c
index a7c4cc922095..a1f6d8a9cc32 100644
--- a/arch/arm26/mm/fault.c
+++ b/arch/arm26/mm/fault.c
@@ -185,7 +185,7 @@ survive:
}
fault = -3; /* out of memory */
- if (tsk->pid != 1)
+ if (!is_init(tsk))
goto out;
/*