]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/m68k/mm/fault.c
cxgb: delete non NAPI code from the driver.
[linux-2.6-omap-h63xx.git] / arch / m68k / mm / fault.c
index 578b48f47b9e3db8a8f30397351fe841ca7ea85a..f493f03231d5ad3594d0813bd11a8855e9efcfbb 100644 (file)
@@ -180,7 +180,7 @@ good_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;
@@ -188,7 +188,7 @@ out_of_memory:
 
        printk("VM: killing process %s\n", current->comm);
        if (user_mode(regs))
-               do_exit(SIGKILL);
+               do_group_exit(SIGKILL);
 
 no_context:
        current->thread.signo = SIGBUS;