git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] pidspace: is_init()
[sfrench/cifs-2.6.git]
/
arch
/
m32r
/
mm
/
fault.c
diff --git
a/arch/m32r/mm/fault.c
b/arch/m32r/mm/fault.c
index dc18a33eefef36ccd10790525b2537e4cae89255..8d5f551b5754305e87474b617b8e437925b48f76 100644
(file)
--- a/
arch/m32r/mm/fault.c
+++ b/
arch/m32r/mm/fault.c
@@
-299,7
+299,7
@@
no_context:
*/
out_of_memory:
up_read(&mm->mmap_sem);
- if (
tsk->pid == 1
) {
+ if (
is_init(tsk)
) {
yield();
down_read(&mm->mmap_sem);
goto survive;