/* Returns 0 if the exception was handled successfully, 1 otherwise.  */
int __kprobes kprobe_handle_illslot(unsigned long pc)
/* Returns 0 if the exception was handled successfully, 1 otherwise.  */
int __kprobes kprobe_handle_illslot(unsigned long pc)
{
	struct kprobe *p = get_kprobe((kprobe_opcode_t *) pc + 1);
	if (p != NULL) {
		printk("Warning: removing kprobe from delay slot: 0x%.8x\n",
		       (unsigned int)pc + 2);
		unregister_kprobe(p);
		return 0;
	}
	return 1;
}