git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] pidspace: is_init()
[pandora-kernel.git]
/
arch
/
ppc
/
mm
/
fault.c
diff --git
a/arch/ppc/mm/fault.c
b/arch/ppc/mm/fault.c
index
bc776be
..
465f451
100644
(file)
--- a/
arch/ppc/mm/fault.c
+++ b/
arch/ppc/mm/fault.c
@@
-291,7
+291,7
@@
bad_area:
*/
out_of_memory:
up_read(&mm->mmap_sem);
- if (
current->pid == 1
) {
+ if (
is_init(current)
) {
yield();
down_read(&mm->mmap_sem);
goto survive;