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
pid namespaces: define is_global_init() and is_container_init()
[pandora-kernel.git]
/
arch
/
um
/
kernel
/
trap.c
diff --git
a/arch/um/kernel/trap.c
b/arch/um/kernel/trap.c
index
bd06055
..
cb3321f
100644
(file)
--- a/
arch/um/kernel/trap.c
+++ b/
arch/um/kernel/trap.c
@@
-108,7
+108,7
@@
out_nosemaphore:
* us unable to handle the page fault gracefully.
*/
out_of_memory:
- if (is_init(current)) {
+ if (is_
global_
init(current)) {
up_read(&mm->mmap_sem);
yield();
down_read(&mm->mmap_sem);