/* We enter here if we discover during exception entry that we are running in supervisor mode with a userspace value in the stack pointer.  */
void kernel_bad_stack(struct pt_regs *regs)
/* We enter here if we discover during exception entry that we are running in supervisor mode with a userspace value in the stack pointer.  */
void kernel_bad_stack(struct pt_regs *regs)
{
	printk(KERN_EMERG "Bad kernel stack pointer %lx at %lx\n",
	       regs->gpr[1], regs->nip);
	die("Bad kernel stack pointer", regs, SIGABRT);
}