/* Unhandled Exceptions. Kill user task or panic if in kernel space.  */
void do_unhandled(struct pt_regs *regs, unsigned long exccause)
/* Unhandled Exceptions. Kill user task or panic if in kernel space.  */
void do_unhandled(struct pt_regs *regs, unsigned long exccause)
{
	__die_if_kernel("Caught unhandled exception - should not happen",
	    		regs, SIGKILL);
	printk("Caught unhandled exception in '%s' "
	       "(pid = %d, pc = %#010lx) - should not happen\n"
	       "\tEXCCAUSE is %ld\n",
	       current->comm, task_pid_nr(current), regs->pc, exccause);
	force_sig(SIGILL, current);
}