arch_disarm_kprobe(p); ret = 1; 
/* We have reentered the pre_kprobe_handler(), since * another probe was hit while within the handler. * We here save the original kprobes variables and * just single step on the instruction of the new probe * without calling any user handlers. */ save_previous_kprobe(); set_current_kprobe(p); p->nmissed++; prepare_ss(p, regs); kprobe_status = KPROBE_REENTER; return 1; 
static int pre_kprobes_handler(struct die_args *args){	struct kprobe *p;	int ret = 0;	struct pt_regs *regs = args->regs;	kprobe_opcode_t *addr = (kprobe_opcode_t *)instruction_pointer(regs);	preempt_disable();	/* Handle recursion cases */	if (kprobe_running()) {		p = get_kprobe(addr);		if (p) {			if (kprobe_status == KPROBE_HIT_SS) {				unlock_kprobes();				goto no_kprobe;			}			arch_disarm_kprobe(p);			ret = 1;		} else if (args->err == __IA64_BREAK_JPROBE) {			/*			 * jprobe instrumented function just completed			 */			p = current_kprobe;			if (p->break_handler && p->break_handler(p, regs)) {				goto ss_probe;			}		} else {			/* Not our break */			goto no_kprobe;		}	}	lock_kprobes();	p = get_kprobe(addr);	if (!p) {		unlock_kprobes();		goto no_kprobe;	}	kprobe_status = KPROBE_HIT_ACTIVE;	current_kprobe = p;	if (p->pre_handler && p->pre_handler(p, regs))		/*		 * Our pre-handler is specifically requesting that we just		 * do a return.  This is handling the case where the		 * pre-handler is really our special jprobe pre-handler.		 */		return 1;ss_probe:	prepare_ss(p, regs);	kprobe_status = KPROBE_HIT_SS;	return 1;no_kprobe:	preempt_enable_no_resched();	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/852caccc89d3883522e87a91bfa89fd9c9cfe15a/kprobes.c/buggy/arch/ia64/kernel/kprobes.c