]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/xtensa/mm/fault.c
powerpc/spufs: Don't spu_acquire_saved unnecessarily in regs read
[linux-2.6-omap-h63xx.git] / 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;