X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fppc%2Fmm%2Ffault.c;h=36c0e7529edbc89f1e7c7dc8d3c000024a2f433d;hb=323ec001c6bb98eeabb5abbdbb8c8055d9496554;hp=b98244e277fbc97857af375d6fb7339f39c5deb7;hpb=39fe5434cb9de5da40510028b17b96bc4eb312b3;p=pandora-kernel.git diff --git a/arch/ppc/mm/fault.c b/arch/ppc/mm/fault.c index b98244e277fb..36c0e7529edb 100644 --- a/arch/ppc/mm/fault.c +++ b/arch/ppc/mm/fault.c @@ -227,7 +227,7 @@ good_area: set_bit(PG_arch_1, &page->flags); } pte_update(ptep, 0, _PAGE_HWEXEC); - _tlbie(address); + _tlbie(address, mm->context.id); pte_unmap_unlock(ptep, ptl); up_read(&mm->mmap_sem); return 0; @@ -290,14 +290,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); return SIGKILL; do_sigbus: