pid namespaces: define is_global_init() and is_container_init()
[pandora-kernel.git] / arch / alpha / mm / fault.c
index 25154df..e0593e6 100644 (file)
@@ -188,7 +188,7 @@ do_page_fault(unsigned long address, unsigned long mmcsr,
        /* We ran out of memory, or some other thing happened to us that
           made us unable to handle the page fault gracefully.  */
  out_of_memory:
-       if (is_init(current)) {
+       if (is_global_init(current)) {
                yield();
                down_read(&mm->mmap_sem);
                goto survive;