.. | .. |
---|
185 | 185 | |
---|
186 | 186 | bust_spinlocks(0); |
---|
187 | 187 | spin_unlock_irq(&die_lock); |
---|
188 | | - do_exit(SIGSEGV); |
---|
| 188 | + make_task_dead(SIGSEGV); |
---|
189 | 189 | } |
---|
190 | 190 | |
---|
191 | 191 | EXPORT_SYMBOL(die); |
---|
.. | .. |
---|
289 | 289 | pr_emerg("unhandled_interruption\n"); |
---|
290 | 290 | show_regs(regs); |
---|
291 | 291 | if (!user_mode(regs)) |
---|
292 | | - do_exit(SIGKILL); |
---|
| 292 | + make_task_dead(SIGKILL); |
---|
293 | 293 | force_sig(SIGKILL); |
---|
294 | 294 | } |
---|
295 | 295 | |
---|
.. | .. |
---|
300 | 300 | addr, type); |
---|
301 | 301 | show_regs(regs); |
---|
302 | 302 | if (!user_mode(regs)) |
---|
303 | | - do_exit(SIGKILL); |
---|
| 303 | + make_task_dead(SIGKILL); |
---|
304 | 304 | force_sig(SIGKILL); |
---|
305 | 305 | } |
---|
306 | 306 | |
---|
.. | .. |
---|
327 | 327 | pr_emerg("Reserved Instruction\n"); |
---|
328 | 328 | show_regs(regs); |
---|
329 | 329 | if (!user_mode(regs)) |
---|
330 | | - do_exit(SIGILL); |
---|
| 330 | + make_task_dead(SIGILL); |
---|
331 | 331 | force_sig(SIGILL); |
---|
332 | 332 | } |
---|
333 | 333 | |
---|