]> err.no Git - linux-2.6/blobdiff - arch/xtensa/mm/fault.c
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtens...
[linux-2.6] / arch / xtensa / mm / fault.c
index 45d28f217c030933f9d2076d3bcf394e00dca484..33f366be323fc05f075519a0dde7826795f8c568 100644 (file)
@@ -145,14 +145,14 @@ bad_area:
         */
 out_of_memory:
        up_read(&mm->mmap_sem);
-       if (is_init(current)) {
+       if (is_global_init(current)) {
                yield();
                down_read(&mm->mmap_sem);
                goto survive;
        }
        printk("VM: killing process %s\n", current->comm);
        if (user_mode(regs))
-               do_exit(SIGKILL);
+               do_group_exit(SIGKILL);
        bad_page_fault(regs, address, SIGKILL);
        return;