pid namespaces: define is_global_init() and is_container_init()
[pandora-kernel.git] / arch / um / kernel / trap.c
index bd06055..cb3321f 100644 (file)
@@ -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);