summaryrefslogtreecommitdiff
path: root/arch/h8300/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/h8300/mm/fault.c')
-rw-r--r--arch/h8300/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/h8300/mm/fault.c b/arch/h8300/mm/fault.c
index d4bc9c16f2df..b465441f490d 100644
--- a/arch/h8300/mm/fault.c
+++ b/arch/h8300/mm/fault.c
@@ -51,7 +51,7 @@ asmlinkage int do_page_fault(struct pt_regs *regs, unsigned long address,
printk(" at virtual address %08lx\n", address);
if (!user_mode(regs))
die("Oops", regs, error_code);
- do_exit(SIGKILL);
+ make_task_dead(SIGKILL);
return 1;
}